nixpkgs/pkgs/development/python-modules/awkward/default.nix

36 lines
746 B
Nix

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