unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62082] [PATCH] gnu: Add python-json-e.
@ 2023-03-09 16:52 Adam Faiz via Guix-patches via
  2024-11-18 23:38 ` bug#62082: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Faiz via Guix-patches via @ 2023-03-09 16:52 UTC (permalink / raw)
  To: 62082

 From e737a1a084085a211ad96dcb1033a566c06dd878 Mon Sep 17 00:00:00 2001
Message-Id: <e737a1a084085a211ad96dcb1033a566c06dd878.1678379862.git.adam.faiz@disroot.org>
In-Reply-To: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz@disroot.org>
References: <f788ce8ebc205a6e05bcc270865d793d94bf51e9.1678379861.git.adam.faiz@disroot.org>
From: AwesomeAdam54321 <adam.faiz@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-18 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 16:52 [bug#62082] [PATCH] gnu: Add python-json-e Adam Faiz via Guix-patches via
2024-11-18 23:38 ` bug#62082: " Sharlatan Hellseher

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).