Browse Source

gnu: Add python-bitarray.

* gnu/packages/python-xyz.scm (python-bitarray): New variable.
Roel Janssen 1 year ago
No known key found for this signature in database GPG Key ID: CBD0CD5138C19AFC
  1. 26


@ -39,7 +39,7 @@
;;; Copyright © 2017 Ben Sturmfels <>
;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe <>
;;; Copyright © 2017 José Miguel Sánchez García <>
;;; Copyright © 2017 Roel Janssen <>
;;; Copyright © 2017, 2020 Roel Janssen <>
;;; Copyright © 2017, 2018, 2019 Kei Kebreau <>
;;; Copyright © 2017 Rutger Helling <>
;;; Copyright © 2017 Muriithi Frederick Muriuki <>
@ -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
(name "python-bitarray")
(version "1.2.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "bitarray" version))
(build-system python-build-system)
(home-page "")
(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)))
(name "")