about summary refs log tree commit diff
path: root/pkgs/development/python-modules/awkward/default.nix
blob: d02ffc4770c132be0a45d32466c9fa87ee4e1626 (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
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, pytestrunner
, pytest
, h5py
}:

buildPythonPackage rec {
  pname = "awkward";
  version = "0.5.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c6b84d2356c8b1af955054bbef088c61bf87f68e062e866fa8d9ea5cb871389f";
  };

  buildInputs = [ pytestrunner h5py ];
  checkInputs = [ pytest ];
  propagatedBuildInputs = [ numpy ];

  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 = [ maintainers.costrouc ];
  };
}