2019-11-11 10:58:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cmake
|
|
|
|
, numba
|
|
|
|
, numpy
|
2020-04-11 15:01:27 +00:00
|
|
|
, pytestCheckHook
|
2021-07-11 14:25:56 +00:00
|
|
|
, pyyaml
|
2019-11-11 10:58:19 +00:00
|
|
|
, rapidjson
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-12-17 17:35:40 +00:00
|
|
|
pname = "awkward";
|
2022-03-04 16:00:18 +00:00
|
|
|
version = "1.8.0";
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-04 16:00:18 +00:00
|
|
|
sha256 = "sha256-ZlX6ItGx0dy5zO4NUCNQq5DFNGehC1QLdiRCK1lNLnI=";
|
2019-11-11 10:58:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2021-07-11 14:25:56 +00:00
|
|
|
buildInputs = [ pyyaml rapidjson ];
|
2019-11-11 10:58:19 +00:00
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
2020-04-11 15:01:27 +00:00
|
|
|
checkInputs = [ pytestCheckHook numba ];
|
|
|
|
dontUseSetuptoolsCheck = true;
|
2021-02-21 23:03:46 +00:00
|
|
|
disabledTestPaths = [ "tests-cuda" ];
|
2019-11-11 10:58:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-11 14:50:00 +00:00
|
|
|
description = "Manipulate JSON-like data with NumPy-like idioms";
|
2022-05-05 18:21:58 +00:00
|
|
|
homepage = "https://github.com/scikit-hep/awkward";
|
2019-11-11 10:58:19 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|