unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Pierre De Jesus DIAZ via Guix-patches via <guix-patches@gnu.org>
To: 64896@debbugs.gnu.org
Cc: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
Subject: [bug#64896] [PATCH v2 5/8] gnu: Add python-hjson.
Date: Fri, 28 Jul 2023 14:24:00 +0200	[thread overview]
Message-ID: <20230728122403.10140-6-jean@foundationdevices.com> (raw)
In-Reply-To: <20230728122403.10140-1-jean@foundationdevices.com>

* gnu/packages/python-xyz.scm (python-hjson): New variable.

Signed-off-by: Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com>
---
 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 db3e69fb45..91dbbe7d83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -139,6 +139,7 @@
 ;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
 ;;; Copyright © 2023 Ontje Lünsdorf <ontje.luensdorf@dlr.de>
+;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2166,6 +2167,30 @@ (define-public python-h5py
 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 "http://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")
-- 
2.34.1





  parent reply	other threads:[~2023-07-28 12:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 12:54 [bug#64896] [PATCH 0/8] gnu: Add qmk Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57 ` [bug#64896] [PATCH 1/8] gnu: Add python-hid Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 2/8] gnu: Add python-spinners Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 3/8] gnu: Add python-log-symbols Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 4/8] gnu: Add python-halo Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 5/8] gnu: Add python-hjson Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 6/8] gnu: Add python-dotty-dict Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 7/8] gnu: Add python-milc Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-27 12:57   ` [bug#64896] [PATCH 8/8] gnu: Add qmk Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:23 ` [bug#64896] [PATCH v2 0/8] " Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:23   ` [bug#64896] [PATCH v2 1/8] gnu: Add python-hid Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:23   ` [bug#64896] [PATCH v2 2/8] gnu: Add python-spinners Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:23   ` [bug#64896] [PATCH v2 3/8] gnu: Add python-log-symbols Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:23   ` [bug#64896] [PATCH v2 4/8] gnu: Add python-halo Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:24   ` Jean-Pierre De Jesus DIAZ via Guix-patches via [this message]
2023-07-28 12:24   ` [bug#64896] [PATCH v2 6/8] gnu: Add python-dotty-dict Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:24   ` [bug#64896] [PATCH v2 7/8] gnu: Add python-milc Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-07-28 12:24   ` [bug#64896] [PATCH v2 8/8] gnu: Add qmk Jean-Pierre De Jesus DIAZ via Guix-patches via
2023-08-30  0:19 ` bug#64896: [PATCH 0/8] " Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230728122403.10140-6-jean@foundationdevices.com \
    --to=guix-patches@gnu.org \
    --cc=64896@debbugs.gnu.org \
    --cc=jean@foundationdevices.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).