From fa51d451bb44acd9fe35c046c13917a559f1e60f Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:06:04 +0100 Subject: [PATCH] python3Packages.protoletariat: use finalAttrs --- pkgs/development/python-modules/protoletariat/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/protoletariat/default.nix b/pkgs/development/python-modules/protoletariat/default.nix index 721f90d3c927..034dc8a0784f 100644 --- a/pkgs/development/python-modules/protoletariat/default.nix +++ b/pkgs/development/python-modules/protoletariat/default.nix @@ -12,7 +12,7 @@ pytestCheckHook, writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "protoletariat"; version = "3.3.10"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "cpcloud"; repo = "protoletariat"; - tag = version; + tag = finalAttrs.version; hash = "sha256-oaZmgen/7WkX+nNuphrcyniL7Z/OaeqlcnbCnqR5h0w="; }; @@ -52,8 +52,8 @@ buildPythonPackage rec { meta = { description = "Python protocol buffers for the rest of us"; - changelog = "https://github.com/cpcloud/protoletariat/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/cpcloud/protoletariat/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})