guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: Add python-bitstruct.


From: guix-commits
Subject: 05/06: gnu: Add python-bitstruct.
Date: Fri, 3 Apr 2020 11:30:04 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 22a49c09eed46cd7b09ef1c557aadb63ed45b8fb
Author: Maxim Cournoyer <address@hidden>
AuthorDate: Fri Apr 3 11:16:37 2020 -0400

    gnu: Add python-bitstruct.
    
    * gnu/packages/python-xyz.scm (python-bitstruct): New variable.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0bdf165..cd431e4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1227,6 +1227,26 @@ sending and receiving messages on a CAN bus.")
     (description "DiskCache is a disk and file backed persistent cache.")
     (license license:asl2.0)))
 
+(define-public python-bitstruct
+  (package
+    (name "python-bitstruct")
+    (version "8.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "bitstruct" version))
+       (sha256
+        (base32
+         "1fpc1qh1vss05ap29xvhjp200fm0q4pvgcjl0qpryh7ay6xgr5vx"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/eerimoq/bitstruct";)
+    (synopsis "Python values to and C bit field structs converter")
+    (description "This module performs conversions between Python values and C
+bit field structs represented as Python byte strings.  It is intended to have
+a similar interface as the @code{struct} module from Python, but working on
+bits instead of primitive data types like @code{char}, @code{int}, etc.")
+    (license license:expat)))
+
 (define-public python-capturer
   (package
     (name "python-capturer")



reply via email to

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