From 3f90ad0eef854ea336f9fdbe21dacaa9dc3908ec Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 12 Jan 2026 22:06:16 +0100 Subject: [PATCH] python313Packages.types-awscrt: migrate to finalAttrs --- pkgs/development/python-modules/types-awscrt/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/types-awscrt/default.nix b/pkgs/development/python-modules/types-awscrt/default.nix index 96d9c639a335..c872d636a701 100644 --- a/pkgs/development/python-modules/types-awscrt/default.nix +++ b/pkgs/development/python-modules/types-awscrt/default.nix @@ -5,14 +5,14 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "types-awscrt"; version = "0.31.0"; pyproject = true; src = fetchPypi { pname = "types_awscrt"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-qotCFIrwhHvhTiuOo2N6NRj/qwOPjTvnCDlQ886H0/8="; }; @@ -26,8 +26,8 @@ buildPythonPackage rec { meta = { description = "Type annotations and code completion for awscrt"; homepage = "https://github.com/youtype/types-awscrt"; - changelog = "https://github.com/youtype/types-awscrt/releases/tag/${version}"; + changelog = "https://github.com/youtype/types-awscrt/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})