From ceb645c0ae86f5b16ad1f1e82b56046316ba64f9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 4 Aug 2026 12:29:34 +0000 Subject: [PATCH 1/2] python3Packages.copier: 9.17.0 -> 9.17.1 --- pkgs/development/python-modules/copier/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/copier/default.nix b/pkgs/development/python-modules/copier/default.nix index 89594122e76b..6298ae9fd925 100644 --- a/pkgs/development/python-modules/copier/default.nix +++ b/pkgs/development/python-modules/copier/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "copier"; - version = "9.17.0"; + version = "9.17.1"; pyproject = true; src = fetchFromGitHub { @@ -39,7 +39,7 @@ buildPythonPackage rec { postFetch = '' rm $out/tests/demo/doc/ma*ana.txt ''; - hash = "sha256-I98GGrFSKgDlFQU3dAYsu7Z2mtO8NWPT0CoMtdw/EI8="; + hash = "sha256-Bv3jXePZwF6fbOcMq1eNPrRZiCXXp0598t6qQJXol1o="; }; env.POETRY_DYNAMIC_VERSIONING_BYPASS = version; From 63f36551ee12f65827025e77c4af8a58d34c978e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 4 Aug 2026 21:39:56 +0200 Subject: [PATCH 2/2] python3Packages.copier: migrate to finalAttrs --- pkgs/development/python-modules/copier/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/copier/default.nix b/pkgs/development/python-modules/copier/default.nix index 6298ae9fd925..dfa79a8b236e 100644 --- a/pkgs/development/python-modules/copier/default.nix +++ b/pkgs/development/python-modules/copier/default.nix @@ -26,7 +26,7 @@ questionary, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "copier"; version = "9.17.1"; pyproject = true; @@ -34,7 +34,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "copier-org"; repo = "copier"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; # Conflict on APFS on darwin postFetch = '' rm $out/tests/demo/doc/ma*ana.txt @@ -42,7 +42,7 @@ buildPythonPackage rec { hash = "sha256-Bv3jXePZwF6fbOcMq1eNPrRZiCXXp0598t6qQJXol1o="; }; - env.POETRY_DYNAMIC_VERSIONING_BYPASS = version; + env.POETRY_DYNAMIC_VERSIONING_BYPASS = finalAttrs.version; build-system = [ hatchling @@ -77,7 +77,7 @@ buildPythonPackage rec { meta = { description = "Library and command-line utility for rendering projects templates"; homepage = "https://copier.readthedocs.io"; - changelog = "https://github.com/copier-org/copier/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/copier-org/copier/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ greg @@ -85,4 +85,4 @@ buildPythonPackage rec { ]; mainProgram = "copier"; }; -} +})