From 32cb541cb12aefc7df80599079d7b51d38f0bea3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Jun 2026 13:31:51 +0200 Subject: [PATCH] python3Packages.py-tes: migrate to finalAttrs --- pkgs/development/python-modules/py-tes/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/py-tes/default.nix b/pkgs/development/python-modules/py-tes/default.nix index c895df771e24..78fdd19276ea 100644 --- a/pkgs/development/python-modules/py-tes/default.nix +++ b/pkgs/development/python-modules/py-tes/default.nix @@ -11,7 +11,7 @@ sphinx-rtd-theme, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "py-tes"; version = "1.1.4"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ohsu-comp-bio"; repo = "py-tes"; - tag = version; + tag = finalAttrs.version; hash = "sha256-/xgycSDFp17rPzC6ICf4e+vrIKWYPftDngx/u1/KHWk="; }; @@ -47,8 +47,8 @@ buildPythonPackage rec { meta = { description = "Python SDK for the GA4GH Task Execution API"; homepage = "https://github.com/ohsu-comp-bio/py-tes"; - changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${version}"; + changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})