python3Packages.pytest-resource-path: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-05-25 13:02:24 +02:00
committed by GitHub
parent 9a1419dce0
commit 06d04f05f4
@@ -8,7 +8,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pytest-resource-path";
version = "1.5.0";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "yukihiko-shinoda";
repo = "pytest-resource-path";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Y/mB5Gmkt3Rt8rRBOFZrWIREnpEiSxf/MChqymXDNws=";
};
@@ -36,4 +36,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})