nixpkgs/pkgs/development/python-modules/awkward1/default.nix
2020-12-01 14:44:09 +01:00

36 lines
747 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cmake
, numba
, numpy
, pytestCheckHook
, rapidjson
}:
buildPythonPackage rec {
pname = "awkward1";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "8c786d1641343e9887c21794f9a3bf51716b00ed3b182491f1acbc9e389b31bb";
};
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 ];
};
}