1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, numpy
5, pytest-runner
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "awkward0";
11 version = "0.15.5";
12
13 src = fetchFromGitHub {
14 owner = "scikit-hep";
15 repo = "awkward-0.x";
16 rev = version;
17 sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
18 };
19
20 nativeBuildInputs = [ pytest-runner ];
21
22 propagatedBuildInputs = [ numpy ];
23
24 checkInputs = [ pytestCheckHook ];
25
26 # Can't find a fixture
27 disabledTests = [ "test_import_pandas" ];
28
29 pythonImportsCheck = [ "awkward0" ];
30
31 meta = with lib; {
32 description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
33 homepage = "https://github.com/scikit-hep/awkward-array";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ costrouc SuperSandro2000 ];
36 };
37}