nixpkgs/pkgs/development/python-modules/awkward/default.nix

30 lines
642 B
Nix
Raw Normal View History

{ lib
2018-10-25 15:25:48 +00:00
, buildPythonPackage
, fetchPypi
, numpy
, pytestrunner
, pytest
, h5py
2018-10-25 15:25:48 +00:00
}:
buildPythonPackage rec {
pname = "awkward";
version = "0.5.2";
2018-10-25 15:25:48 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "bc824882f80ae07d442a011eb6d14a6fce581e022d4ff6c73d89d93c832ee3cc";
2018-10-25 15:25:48 +00:00
};
buildInputs = [ pytestrunner h5py ];
checkInputs = [ pytest ];
2018-10-25 15:25:48 +00:00
propagatedBuildInputs = [ numpy ];
meta = with lib; {
description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy.";
2018-10-25 15:25:48 +00:00
homepage = https://github.com/scikit-hep/awkward-array;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}