From 9666a67a56db3fc94872bb8967feb210e2bec48f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 23 Aug 2024 19:12:41 +0000 Subject: [PATCH 1/2] python312Packages.scikit-hep-testdata: 0.4.46 -> 0.4.47 --- .../python-modules/scikit-hep-testdata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/scikit-hep-testdata/default.nix b/pkgs/development/python-modules/scikit-hep-testdata/default.nix index 12d798ab0238..bef27da3daec 100644 --- a/pkgs/development/python-modules/scikit-hep-testdata/default.nix +++ b/pkgs/development/python-modules/scikit-hep-testdata/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "scikit-hep-testdata"; - version = "0.4.46"; + version = "0.4.47"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "scikit-hep"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-lihStYseIthw74kMSDHYpYaLCJGIKlx4gb0VqQu8tc4="; + hash = "sha256-YCzqAe+TVNbPrHPxD/OjxkjmYCb5pZO0+l68xUJp72w="; }; nativeBuildInputs = [ setuptools-scm ]; From 327fa4cf3840760b618224d204df304cb90f7ce9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Aug 2024 09:32:21 +0200 Subject: [PATCH 2/2] python312Packages.scikit-hep-testdata: refactor --- .../python-modules/scikit-hep-testdata/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/scikit-hep-testdata/default.nix b/pkgs/development/python-modules/scikit-hep-testdata/default.nix index bef27da3daec..9b71e49368e1 100644 --- a/pkgs/development/python-modules/scikit-hep-testdata/default.nix +++ b/pkgs/development/python-modules/scikit-hep-testdata/default.nix @@ -13,20 +13,20 @@ buildPythonPackage rec { pname = "scikit-hep-testdata"; version = "0.4.47"; - format = "pyproject"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "scikit-hep"; - repo = pname; + repo = "scikit-hep-testdata"; rev = "refs/tags/v${version}"; hash = "sha256-YCzqAe+TVNbPrHPxD/OjxkjmYCb5pZO0+l68xUJp72w="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ pyyaml requests ] ++ lib.optionals (!pythonAtLeast "3.9") [ importlib-resources ];