From ec0f456ce4de88a62f6957559f90ef8c63a570d2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 3 Feb 2026 10:34:23 -0800 Subject: [PATCH] python3Packages.python-openstackclient: migrate to finalAttrs --- .../python-modules/python-openstackclient/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index d98225664320..330c904fb1fb 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -32,7 +32,7 @@ testers, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "python-openstackclient"; version = "8.3.0"; pyproject = true; @@ -40,11 +40,11 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "openstack"; repo = "python-openstackclient"; - tag = version; + tag = finalAttrs.version; hash = "sha256-CEz1v4e4NadSZ+qhotFtLB4y/KdhDZbDOohN8D9FB30="; }; - env.PBR_VERSION = version; + env.PBR_VERSION = finalAttrs.version; build-system = [ openstackdocstheme @@ -112,8 +112,8 @@ buildPythonPackage rec { description = "OpenStack Command-line Client"; mainProgram = "openstack"; homepage = "https://opendev.org/openstack/python-openstackclient"; - downloadPage = "https://github.com/openstack/python-openstackclient"; + downloadPage = "https://github.com/openstack/python-openstackclient/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; teams = [ lib.teams.openstack ]; }; -} +})