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
|
||||
, 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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue