guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add python-bitarray.


From: guix-commits
Subject: branch master updated: gnu: Add python-bitarray.
Date: Mon, 27 Apr 2020 07:09:26 -0400

This is an automated email from the git hooks/post-receive script.

roelj pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4c24186  gnu: Add python-bitarray.
4c24186 is described below

commit 4c24186ae0798cd3263c1647d5f9aab0719b3d15
Author: Roel Janssen <address@hidden>
AuthorDate: Mon Apr 27 13:09:02 2020 +0200

    gnu: Add python-bitarray.
    
    * gnu/packages/python-xyz.scm (python-bitarray): New variable.
---
 gnu/packages/python-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9460a59..31cafd4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39,7 +39,7 @@
 ;;; Copyright © 2017 Ben Sturmfels <address@hidden>
 ;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2017 José Miguel Sánchez García <address@hidden>
-;;; Copyright © 2017 Roel Janssen <address@hidden>
+;;; Copyright © 2017, 2020 Roel Janssen <address@hidden>
 ;;; Copyright © 2017, 2018, 2019 Kei Kebreau <address@hidden>
 ;;; Copyright © 2017 Rutger Helling <address@hidden>
 ;;; Copyright © 2017 Muriithi Frederick Muriuki <address@hidden>
@@ -640,6 +640,30 @@ certificate returned by the server to which a connection 
has been established,
 and verifies that it matches the intended target hostname.")
     (license license:psfl)))
 
+(define-public python-bitarray
+  (package
+    (name "python-bitarray")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "bitarray" version))
+              (sha256
+               (base32
+                "1kxrlxfj9nrx512sfwifwl9z4v6ky3qschl0zmk3s3dvc3s7bmif"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/ilanschnell/bitarray";)
+    (synopsis "Efficient arrays of booleans")
+    (description "This package provides an object type which efficiently
+represents an array of booleans.  Bitarrays are sequence types and behave very
+much like usual lists.  Eight bits are represented by one byte in a contiguous
+block of memory.  The user can select between two representations:
+little-endian and big-endian.  All of the functionality is implemented in C.
+Methods for accessing the machine representation are provided.  This can be
+useful when bit level access to binary files is required, such as portable
+bitmap image files.  Also, when dealing with compressed data which uses
+variable bit length encoding, you may find this module useful.")
+    (license license:psfl)))
+
 (define-public python-boolean.py
   (package
     (name "python-boolean.py")



reply via email to

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