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-11-29 14:04:23 +00:00
|
|
|
version = "0.4.5";
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:23 +00:00
|
|
|
sha256 = "8c786d1641343e9887c21794f9a3bf51716b00ed3b182491f1acbc9e389b31bb";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|