From e656db90c7dfbe197a8bfa9a76b2934f40bf92dc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 19 Jan 2026 02:56:08 +0000 Subject: [PATCH 1/2] python3Packages.ghapi: 1.0.8 -> 1.0.9 --- pkgs/development/python-modules/ghapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ghapi/default.nix b/pkgs/development/python-modules/ghapi/default.nix index fe650ff60b04..a61fac9bfc4a 100644 --- a/pkgs/development/python-modules/ghapi/default.nix +++ b/pkgs/development/python-modules/ghapi/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "ghapi"; - version = "1.0.8"; + version = "1.0.9"; pyproject = true; src = fetchFromGitHub { owner = "fastai"; repo = "ghapi"; tag = version; - hash = "sha256-ZfOo5Icusj8Fm5i/HWGjjXtNWEB1wgYNzqeLeWbBJ/4="; + hash = "sha256-gBwOxWHjGyTrAKpG7BVoO7eQJw3fcLMXaF7CbAwMOj8="; }; build-system = [ setuptools ]; From 0388430f9ca2cf95a160dca22e055970ca531dc1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 Jan 2026 22:01:08 +0100 Subject: [PATCH 2/2] python313Packages.ghapi: migrate to finalAttrs --- pkgs/development/python-modules/ghapi/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/ghapi/default.nix b/pkgs/development/python-modules/ghapi/default.nix index a61fac9bfc4a..6b618e177384 100644 --- a/pkgs/development/python-modules/ghapi/default.nix +++ b/pkgs/development/python-modules/ghapi/default.nix @@ -7,7 +7,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ghapi"; version = "1.0.9"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fastai"; repo = "ghapi"; - tag = version; + tag = finalAttrs.version; hash = "sha256-gBwOxWHjGyTrAKpG7BVoO7eQJw3fcLMXaF7CbAwMOj8="; }; @@ -34,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Python interface to GitHub's API"; homepage = "https://github.com/fastai/ghapi"; - changelog = "https://github.com/fastai/ghapi/releases/tag/${version}"; - license = with lib.licenses; [ asl20 ]; + changelog = "https://github.com/fastai/ghapi/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})