mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
38 lines
785 B
Nix
38 lines
785 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cmake
|
|
, numba
|
|
, numpy
|
|
, pytestCheckHook
|
|
, pyyaml
|
|
, rapidjson
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "awkward";
|
|
version = "1.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZlX6ItGx0dy5zO4NUCNQq5DFNGehC1QLdiRCK1lNLnI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ pyyaml 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";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|