77976348d2
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
37 lines
802 B
Nix
37 lines
802 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cmake
|
|
, numba
|
|
, numpy
|
|
, pytestCheckHook
|
|
, pyyaml
|
|
, rapidjson
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "awkward";
|
|
version = "1.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c0357c62223fefcfc7a7565389dbd4db900623bf10eccf2bc8e87586ec59b38d";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ pyyaml rapidjson ];
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
checkInputs = [ pytestCheckHook numba ];
|
|
dontUseSetuptoolsCheck = true;
|
|
disabledTestPaths = [ "tests-cuda" ];
|
|
|
|
meta = with lib; {
|
|
description = "Manipulate JSON-like data with NumPy-like idioms";
|
|
homepage = "https://github.com/scikit-hep/awkward-1.0";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|