3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/awkward1/default.nix

36 lines
748 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numba
, numpy
, pytestCheckHook
, rapidjson
}:
buildPythonPackage rec {
pname = "awkward1";
2020-08-16 18:30:51 +01:00
version = "0.2.31";
src = fetchPypi {
inherit pname version;
2020-08-16 18:30:51 +01:00
sha256 = "9b235ce4164c8472d4f0ac0ad4fe7980968659be9e955c44a922d04f93766e12";
};
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 ];
};
}