58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
30 lines
673 B
Nix
30 lines
673 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitarray";
|
|
version = "2.3.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-S+47qRZLZs72TxCZ6aO4jpndzQyUOAfplENhPhhLSLQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|