[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65367] [PATCH v2 2/4] gnu: Add python-pymarshal.
From: |
Sughosha |
Subject: |
[bug#65367] [PATCH v2 2/4] gnu: Add python-pymarshal. |
Date: |
Tue, 31 Oct 2023 14:44:41 +0100 |
* gnu/packages/python-xyz.scm (python-pymarshal): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 85930b1fad..617225e50e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31200,6 +31200,28 @@ (define-public python-peachpy
supports x86_64 instructions up to AVX-512 and SHA.")
(license license:bsd-2))))
+(define-public python-pymarshal
+ (package
+ (name "python-pymarshal")
+ (version "2.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pymarshal" version))
+ (sha256
+ (base32
+ "1lhb7yim60pvclbd440zd4n50xs1d2rvmnrhhvib3hyv0dxil5j3"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;fails due to unrecognized arguments
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs (list python-bson python-pyyaml))
+ (home-page "https://gitlab.com/d3v-t00lz/pymarshal")
+ (synopsis "Pythonic implementation of Golang struct (un)marshalling")
+ (description "PyMarshal replicates the feature of (un)marshalling structs
+in Golang.")
+ (license license:bsd-2)))
+
(define-public python-sgmllib3k
(let ((commit "799964676f35349ca2dd04503e34c2b3ad522c0d")
(revision "1"))
--
2.41.0