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