3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/awkward1/default.nix
2020-05-11 22:12:10 +02:00

36 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numba
, numpy
, pytestCheckHook
, rapidjson
}:
buildPythonPackage rec {
pname = "awkward1";
version = "0.2.19";
src = fetchPypi {
inherit pname version;
sha256 = "23446eacdf52cad1fb0b5bb0f2ed16c1ae8bb5a282d667ad37ab69494e1ef27f";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ rapidjson ];
propagatedBuildInputs = [ numpy ];
dontUseCmakeConfigure = true;
checkInputs = [ pytestCheckHook numba ];
dontUseSetuptoolsCheck = true;
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 ];
};
}