From fca0259098da0ed2b7c4830cb5e7595f1e36462e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 30 Aug 2025 05:36:04 +0000 Subject: [PATCH 1/2] python3Packages.pytest-resource-path: 1.3.0 -> 1.4.0 --- .../python-modules/pytest-resource-path/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix index 557a9e9995a7..013a70e804bb 100644 --- a/pkgs/development/python-modules/pytest-resource-path/default.nix +++ b/pkgs/development/python-modules/pytest-resource-path/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pytest-resource-path"; - version = "1.3.0"; + version = "1.4.0"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "yukihiko-shinoda"; repo = "pytest-resource-path"; rev = "v${version}"; - sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2"; + sha256 = "sha256-9OBO9b02RrXilXUucerQQMTaQIRXtbcKCHqwwp9tBto="; }; postPatch = '' From 5d588c174274eeb6f680c0b979ff6079f59811c9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Aug 2025 08:42:08 +0200 Subject: [PATCH 2/2] python313Packages.pytest-resource-path: refactor --- .../python-modules/pytest-resource-path/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix index 013a70e804bb..d330e6c9ab68 100644 --- a/pkgs/development/python-modules/pytest-resource-path/default.nix +++ b/pkgs/development/python-modules/pytest-resource-path/default.nix @@ -6,19 +6,19 @@ colorama, pytest, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "pytest-resource-path"; version = "1.4.0"; - format = "setuptools"; - disabled = pythonOlder "3.5"; + pyproject = true; src = fetchFromGitHub { owner = "yukihiko-shinoda"; repo = "pytest-resource-path"; - rev = "v${version}"; - sha256 = "sha256-9OBO9b02RrXilXUucerQQMTaQIRXtbcKCHqwwp9tBto="; + tag = "v${version}"; + hash = "sha256-9OBO9b02RrXilXUucerQQMTaQIRXtbcKCHqwwp9tBto="; }; postPatch = '' @@ -26,9 +26,11 @@ buildPythonPackage rec { --replace "pytest-runner" "" ''; + build-system = [ setuptools ]; + buildInputs = [ pytest ]; - propagatedBuildInputs = [ colorama ]; + dependencies = [ colorama ]; nativeCheckInputs = [ pytestCheckHook ];