nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 699 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "bitarray"; 11 version = "3.8.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-Pq442v/XfJYhroDBaTLuo/s6SvFB+3zHJNStk+/5IQ0="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 checkPhase = '' 22 cd $out 23 ${python.interpreter} -c 'import bitarray; bitarray.test()' 24 ''; 25 26 pythonImportsCheck = [ "bitarray" ]; 27 28 meta = { 29 description = "Efficient arrays of booleans"; 30 homepage = "https://github.com/ilanschnell/bitarray"; 31 changelog = "https://github.com/ilanschnell/bitarray/raw/${version}/CHANGE_LOG"; 32 license = lib.licenses.psfl; 33 }; 34}