Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 36 lines 786 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, cmake 5, numba 6, numpy 7, pytestCheckHook 8, rapidjson 9}: 10 11buildPythonPackage rec { 12 pname = "awkward"; 13 version = "1.2.3"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "7d727542927a926f488fa62d04e2c5728c72660f17f822e627f349285f295063"; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 buildInputs = [ rapidjson ]; 22 propagatedBuildInputs = [ numpy ]; 23 24 dontUseCmakeConfigure = true; 25 26 checkInputs = [ pytestCheckHook numba ]; 27 dontUseSetuptoolsCheck = true; 28 disabledTestPaths = [ "tests-cuda" ]; 29 30 meta = with lib; { 31 description = "Manipulate JSON-like data with NumPy-like idioms"; 32 homepage = "https://github.com/scikit-hep/awkward-1.0"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ veprbl ]; 35 }; 36}