python3Packages.awkward: fix runtime "No module named 'setuptools'"

This commit is contained in:
Dmitry Kalinkin 2022-07-24 15:01:56 -04:00 committed by Jonathan Ringer
parent b78d6e2813
commit 6e0b8a6f77

View file

@ -7,6 +7,7 @@
, pytestCheckHook
, pyyaml
, rapidjson
, setuptools
}:
buildPythonPackage rec {
@ -20,7 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ pyyaml rapidjson ];
propagatedBuildInputs = [ numpy ];
propagatedBuildInputs = [ numpy setuptools ]; # https://github.com/scikit-hep/awkward/blob/main/requirements.txt
dontUseCmakeConfigure = true;
@ -28,6 +29,8 @@ buildPythonPackage rec {
dontUseSetuptoolsCheck = true;
disabledTestPaths = [ "tests-cuda" ];
pythonImportsCheck = [ "awkward" ];
meta = with lib; {
description = "Manipulate JSON-like data with NumPy-like idioms";
homepage = "https://github.com/scikit-hep/awkward";