Merge pull request #173183 from fabaff/bitarray-bump
python310Packages.bitarray: disable on older Python releases
This commit is contained in:
commit
fbdc30b994
1 changed files with 9 additions and 3 deletions
|
@ -2,15 +2,19 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, python
|
, python
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bitarray";
|
pname = "bitarray";
|
||||||
version = "2.5.1";
|
version = "2.5.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-jTj2B1EAgJmmWdWs+zXvQVAYPv/Vsr+mwQGZJw3fTJw=";
|
hash = "sha256-jTj2B1EAgJmmWdWs+zXvQVAYPv/Vsr+mwQGZJw3fTJw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -18,13 +22,15 @@ buildPythonPackage rec {
|
||||||
${python.interpreter} -c 'import bitarray; bitarray.test()'
|
${python.interpreter} -c 'import bitarray; bitarray.test()'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "bitarray" ];
|
pythonImportsCheck = [
|
||||||
|
"bitarray"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Efficient arrays of booleans";
|
description = "Efficient arrays of booleans";
|
||||||
homepage = "https://github.com/ilanschnell/bitarray";
|
homepage = "https://github.com/ilanschnell/bitarray";
|
||||||
changelog = "https://github.com/ilanschnell/bitarray/raw/${version}/CHANGE_LOG";
|
changelog = "https://github.com/ilanschnell/bitarray/raw/${version}/CHANGE_LOG";
|
||||||
license = licenses.psfl;
|
license = licenses.psfl;
|
||||||
maintainers = [ maintainers.bhipple ];
|
maintainers = with maintainers; [ bhipple ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue