diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-15 20:15:07 +0200 |
|---|---|---|
| committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-15 20:17:33 +0200 |
| commit | bc66d8430388a53611e7c8a7160a596f5c14929e (patch) | |
| tree | d60cb7556770f06897a475585e5ddd9278035204 /pkgs/development/python-modules/bitarray | |
| parent | Merge pull request #172988 from McSinyx/dendrite-0.8.5 (diff) | |
| download | nixpkgs-bc66d8430388a53611e7c8a7160a596f5c14929e.tar.gz | |
python310Packages.bitarray: disable on older Python releases
Diffstat (limited to 'pkgs/development/python-modules/bitarray')
| -rw-r--r-- | pkgs/development/python-modules/bitarray/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/bitarray/default.nix b/pkgs/development/python-modules/bitarray/default.nix index 79ac6475ae6a..7ee76f2f2fe8 100644 --- a/pkgs/development/python-modules/bitarray/default.nix +++ b/pkgs/development/python-modules/bitarray/default.nix @@ -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 ]; }; } |
