14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
30 lines
686 B
Nix
30 lines
686 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitarray";
|
|
version = "2.3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "60285184cb02fdba5e1cc8605ac84e150a50f940e9383ab43564e5258d1f47bb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|