nixpkgs/pkgs/development/python-modules/awkward/default.nix
2021-05-16 00:53:13 -07:00

37 lines
786 B
Nix

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