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