1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 version = "0.8.3";
5 pname = "bitarray";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0pl9p4j3dhlyffsqra6h28q7jph6v3hgppg786lkmnqdh45x6305";
10 };
11
12 # Delete once https://github.com/ilanschnell/bitarray/pull/55 is merged
13 patches = [ ./0001-Buffer-Protocol-Py3.patch ];
14
15 meta = with lib; {
16 description = "Efficient arrays of booleans";
17 homepage = https://github.com/ilanschnell/bitarray;
18 license = licenses.psfl;
19 maintainers = [ maintainers.bhipple ];
20 };
21}