Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 684 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, pytestrunner 6, pytest 7, h5py 8}: 9 10buildPythonPackage rec { 11 pname = "awkward"; 12 version = "0.8.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "7016dc02d15b8797b59a461ccc8d218f37c335b97fa6b376638c0edd4ffc9de2"; 17 }; 18 19 nativeBuildInputs = [ pytestrunner ]; 20 checkInputs = [ pytest h5py ]; 21 propagatedBuildInputs = [ numpy ]; 22 23 checkPhase = '' 24 py.test 25 ''; 26 27 meta = with lib; { 28 description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy"; 29 homepage = https://github.com/scikit-hep/awkward-array; 30 license = licenses.bsd3; 31 maintainers = [ maintainers.costrouc ]; 32 }; 33}