guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/12: gnu: Add python-marshmallow-jsonapi.


From: guix-commits
Subject: 03/12: gnu: Add python-marshmallow-jsonapi.
Date: Wed, 3 Nov 2021 13:45:57 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 62820800cb3a8852c0b7b1015486859508f09cbf
Author: David Larsson <david.larsson@selfhosted.xyz>
AuthorDate: Tue Oct 26 19:51:50 2021 +0200

    gnu: Add python-marshmallow-jsonapi.
    
    * gnu/packages/python-xyz.scm (python-marshmallow-jsonapi): New variable.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8dd10d3..403143f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19179,6 +19179,36 @@ complex datatypes to and from native Python 
datatypes.")
        (sha256
         (base32 "1w18klwj0z9bqxj252qpj1hz8l46nl27sbc89rkajc7mln73wbws"))))))
 
+(define-public python-marshmallow-jsonapi
+  (package
+    (name "python-marshmallow-jsonapi")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "marshmallow-jsonapi" version))
+       (sha256
+        (base32 "1d9pxcgmln4gls99vwj1h24qv0lz7fb2jqmqrsiv1pid1snc125x"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-marshmallow" ,python-marshmallow-3.2)))
+    (native-inputs
+     `(("python-faker" ,python-faker)
+       ("python-flake8" ,python-flake8)
+       ("python-flake8-bugbear" ,python-flake8-bugbear)
+       ("python-flask" ,python-flask)
+       ("python-mock" ,python-mock)
+       ("python-pre-commit" ,python-pre-commit)
+       ("python-pytest" ,python-pytest)
+       ("python-tox" ,python-tox)))
+    (home-page "https://github.com/marshmallow-code/marshmallow-jsonapi";)
+    (synopsis "JSON:API 1.0 formatting with Marshmallow")
+    (description
+     "The marshmallow-jsonapi package provides a simple way to produce
+@uref{https://jsonapi.org, JSON:API}-compliant data in any Python Web 
framework.
+It includes optional utilities to integrate with Flask.")
+    (license license:expat)))
+
 (define-public python-apispec
   (package
     (name "python-apispec")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]