Merge pull request #173183 from fabaff/bitarray-bump

python310Packages.bitarray: disable on older Python releases
This commit is contained in:
Fabian Affolter 2022-05-16 00:05:08 +02:00 committed by GitHub
commit fbdc30b994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,19 @@
, buildPythonPackage
, fetchPypi
, python
, pythonOlder
}:
buildPythonPackage rec {
pname = "bitarray";
version = "2.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-jTj2B1EAgJmmWdWs+zXvQVAYPv/Vsr+mwQGZJw3fTJw=";
hash = "sha256-jTj2B1EAgJmmWdWs+zXvQVAYPv/Vsr+mwQGZJw3fTJw=";
};
checkPhase = ''
@ -18,13 +22,15 @@ buildPythonPackage rec {
${python.interpreter} -c 'import bitarray; bitarray.test()'
'';
pythonImportsCheck = [ "bitarray" ];
pythonImportsCheck = [
"bitarray"
];
meta = with lib; {
description = "Efficient arrays of booleans";
homepage = "https://github.com/ilanschnell/bitarray";
changelog = "https://github.com/ilanschnell/bitarray/raw/${version}/CHANGE_LOG";
license = licenses.psfl;
maintainers = [ maintainers.bhipple ];
maintainers = with maintainers; [ bhipple ];
};
}