diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix index 86b76d75624c..c5517c827c4c 100644 --- a/pkgs/development/python-modules/awkward/default.nix +++ b/pkgs/development/python-modules/awkward/default.nix @@ -5,6 +5,7 @@ , numba , numpy , pytestCheckHook +, pythonOlder , pyyaml , rapidjson , setuptools @@ -12,29 +13,49 @@ buildPythonPackage rec { pname = "awkward"; - version = "1.10.0"; + version = "1.10.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-HYnHJE5hhLNfS85r0I/4LrLvYL5n9XKSO8aq7jXatUQ="; + hash = "sha256-xjlO0l+xSghtY2IdnYT9wij11CpkWG8hVzGzb94XA0s="; }; - nativeBuildInputs = [ cmake ]; - buildInputs = [ pyyaml rapidjson ]; - propagatedBuildInputs = [ numpy setuptools ]; # https://github.com/scikit-hep/awkward/blob/main/requirements.txt + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + pyyaml + rapidjson + ]; + + propagatedBuildInputs = [ + numpy + setuptools + ]; dontUseCmakeConfigure = true; - checkInputs = [ pytestCheckHook numba ]; + checkInputs = [ + pytestCheckHook + numba + ]; disabledTests = [ # incomatible with numpy 1.23 "test_numpyarray" ]; - disabledTestPaths = [ "tests-cuda" ]; + disabledTestPaths = [ + "tests-cuda" + ]; - pythonImportsCheck = [ "awkward" ]; + pythonImportsCheck = [ + "awkward" + ]; meta = with lib; { description = "Manipulate JSON-like data with NumPy-like idioms";