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-06-06 07:46:58 +01:00
|
|
|
version = "0.2.23";
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:46:58 +01:00
|
|
|
sha256 = "d7458b499959af66e0a640e29e6b676a39cc9614cd504e5a2e8f8d0c7f546597";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|