841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
30 lines
686 B
Nix
30 lines
686 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitarray";
|
|
version = "2.1.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a24aff72a7f1b09571b5daf9dbfcffd98481be1fe085ae5ef662cf11452a97e0";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|