summary refs log tree commit diff
path: root/pkgs/development/python-modules/awkward0/default.nix
blob: 3783f9776cd1c350a57db9197eb52f908fb7bb70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestrunner
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "awkward0";
  version = "0.15.5";

  src = fetchFromGitHub {
    owner = "scikit-hep";
    repo = "awkward-0.x";
    rev = version;
    sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx";
  };

  nativeBuildInputs = [ pytestrunner ];

  propagatedBuildInputs = [ numpy ];

  checkInputs = [ pytestCheckHook ];

  # Can't find a fixture
  disabledTests = [ "test_import_pandas" ];

  pythonImportsCheck = [ "awkward0" ];

  meta = with lib; {
    description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
    homepage = "https://github.com/scikit-hep/awkward-array";
    license = licenses.bsd3;
    maintainers = with maintainers; [ costrouc SuperSandro2000 ];
  };
}