GNU bug report logs - #62082
[PATCH] gnu: Add python-json-e.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Thu, 9 Mar 2023 16:54:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 62082 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62082; Package guix-patches. (Thu, 09 Mar 2023 16:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Faiz <adam.faiz <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 09 Mar 2023 16:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adam Faiz <adam.faiz <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-json-e.
Date: Fri, 10 Mar 2023 00:52:25 +0800
From e737a1a084085a211ad96dcb1033a566c06dd878 Mon Sep 17 00:00:00 2001
Message-Id: <e737a1a084085a211ad96dcb1033a566c06dd878.1678379862.git.adam.faiz <at> disroot.org>
In-Reply-To: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz <at> disroot.org>
References: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Thu, 9 Mar 2023 23:14:22 +0800
Subject: [PATCH] gnu: Add python-json-e.

* gnu/packages/python-xyz.scm (python-json-e): New variable.
---
 gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4173da3fd..92ea561737 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26491,6 +26491,45 @@ (define-public python-xattr
 associated with file system objects (files, directories, symlinks, etc).")
     (license license:expat)))
 
+(define-public python-json-e
+  (package
+  (name "python-json-e")
+  (version "4.5.0")
+  (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/json-e/json-e")
+                (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0m3rsl2wvcn1i781d7l4xp0vx58sn89y0fhsvmrczlvkbpywzb3a"))))
+  (build-system python-build-system)
+  (native-inputs
+   (list python-dateutil
+         python-freezegun
+         python-hypothesis
+         python-nose
+         python-pep8
+         python-pyyaml))
+  (arguments
+   (list #:phases
+         #~(modify-phases %standard-phases
+             (add-before 'build 'cd-to-py-dir
+               (lambda _
+                 (chdir "py")))
+             (replace 'check
+               (lambda _
+                 (invoke "nosetests"))))))
+  (home-page "https://json-e.js.org")
+  (synopsis
+   "Data-structure parameterizer for embedding context in JSON objects")
+  (description
+   "This package provides a data-structure parameterization system written for
+embedding context in JSON objects.")
+  (license license:mpl2.0)))
+
 (define-public python-json-logger
   (package
     (name "python-json-logger")
-- 
2.39.2





This bug report was last modified 1 year and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.