1{ lib
2, buildPythonPackage
3, fetchPypi
4, cmake
5, numba
6, numpy
7, pytestCheckHook
8, pyyaml
9, rapidjson
10}:
11
12buildPythonPackage rec {
13 pname = "awkward";
14 version = "1.5.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "c0357c62223fefcfc7a7565389dbd4db900623bf10eccf2bc8e87586ec59b38d";
19 };
20
21 nativeBuildInputs = [ cmake ];
22 buildInputs = [ pyyaml rapidjson ];
23 propagatedBuildInputs = [ numpy ];
24
25 dontUseCmakeConfigure = true;
26
27 checkInputs = [ pytestCheckHook numba ];
28 dontUseSetuptoolsCheck = true;
29 disabledTestPaths = [ "tests-cuda" ];
30
31 meta = with lib; {
32 description = "Manipulate JSON-like data with NumPy-like idioms";
33 homepage = "https://github.com/scikit-hep/awkward-1.0";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ veprbl ];
36 };
37}