2019-11-11 10:58:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cmake
|
|
|
|
, numba
|
|
|
|
, numpy
|
2020-04-11 16:01:27 +01:00
|
|
|
, pytestCheckHook
|
2019-11-11 10:58:19 +00:00
|
|
|
, rapidjson
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "awkward1";
|
2020-07-03 03:41:44 +01:00
|
|
|
version = "0.2.24";
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-03 03:41:44 +01:00
|
|
|
sha256 = "d2f4c9e3153ba18e3ef867c4804e3f17aefd0cc32b5174b38718d06ada4503e9";
|
2019-11-11 10:58:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ rapidjson ];
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
2020-04-11 16:01:27 +01:00
|
|
|
checkInputs = [ pytestCheckHook numba ];
|
|
|
|
dontUseSetuptoolsCheck = true;
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-11 15:50:00 +01:00
|
|
|
description = "Manipulate JSON-like data with NumPy-like idioms";
|
2019-11-11 10:58:19 +00:00
|
|
|
homepage = "https://github.com/scikit-hep/awkward-1.0";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|