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