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