88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
30 lines
686 B
Nix
30 lines
686 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitarray";
|
|
version = "2.3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f19c62425576d3d1821ed711b94d1a4e5ede8f05ca121e99b6d978ed49c7a765";
|
|
};
|
|
|
|
checkPhase = ''
|
|
cd $out
|
|
${python.interpreter} -c 'import bitarray; bitarray.test()'
|
|
'';
|
|
|
|
pythonImportsCheck = [ "bitarray" ];
|
|
|
|
meta = with lib; {
|
|
description = "Efficient arrays of booleans";
|
|
homepage = "https://github.com/ilanschnell/bitarray";
|
|
changelog = "https://github.com/ilanschnell/bitarray/blob/master/CHANGE_LOG";
|
|
license = licenses.psfl;
|
|
maintainers = [ maintainers.bhipple ];
|
|
};
|
|
}
|