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";
|
2018-12-02 13:15:02 +00:00
|
|
|
version = "0.5.2";
|
2018-10-25 16:25:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-02 13:15:02 +00:00
|
|
|
sha256 = "bc824882f80ae07d442a011eb6d14a6fce581e022d4ff6c73d89d93c832ee3cc";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|