From b3cee1c7e86601bae6dbd3beed566ecefa25f626 Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Fri, 28 Jul 2023 14:24:00 +0200 Subject: gnu: Add python-hjson. * gnu/packages/python-xyz.scm (python-hjson): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ Signed-off-by: Vagrant Cascadian --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 385426671e..8df0bb6106 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -140,6 +140,7 @@ ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Ontje Lünsdorf ;;; Copyright © 2023 Parnikkapore +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -2167,6 +2168,30 @@ access to HDF5 files, datasets and groups using established Python and NumPy concepts.") (license license:bsd-3))) +(define-public python-hjson + ;; Using commit from master branch as the PyPI version does not contain + ;; the hjson/tests/ directory. + (let ((revision "0") + (commit "1687b811fcbbc54b5ac71cfbaa99f805e406fbcb")) + (package + (name "python-hjson") + (version (git-version "3.1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hjson/hjson-py") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qfqnhvfx5mm7bdajjnnagmvns1zxyksjzh3k5la2ag6a8bp5gki")))) + (build-system pyproject-build-system) + (home-page "https://github.com/hjson/hjson-py") + (synopsis "Python package to parse HJSON documents") + (description "This package provides a Python library and a command-line +interface utility to parse @url{https://hjson.github.io/, HJSON}) documents.") + (license license:expat)))) + (define-public python-hnswlib (package (name "python-hnswlib") -- cgit v1.2.3