From cd1b8df07343322895124783e8b8a861dd5b4b6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Mon, 29 Dec 2025 15:10:09 +0100 Subject: [PATCH] python3Packages.gfsubsets: 2024.9.25 -> 2025.11.4 --- .../python-modules/gfsubsets/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/gfsubsets/default.nix b/pkgs/development/python-modules/gfsubsets/default.nix index 8572b3182cc9..13f6e574abb5 100644 --- a/pkgs/development/python-modules/gfsubsets/default.nix +++ b/pkgs/development/python-modules/gfsubsets/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, fonttools, importlib-resources, setuptools, @@ -11,12 +11,13 @@ buildPythonPackage rec { pname = "gfsubsets"; - version = "2024.9.25"; - gitTag = "v2024.02.05"; + version = "2025.11.04"; - src = fetchPypi { - inherit pname version; - hash = "sha256-jEuIBNQ89Le3Rbk0W4PLl9LE7rP0IcE6RAzyfhZb7lY="; + src = fetchFromGitHub { + owner = "googlefonts"; + repo = "nam-files"; + tag = "v${version}"; + hash = "sha256-mMsmccIuilKeOUjt68etYefibuorjlW32gLcLgV8jxo="; }; pyproject = true; @@ -39,7 +40,7 @@ buildPythonPackage rec { meta = { description = "Codepoint definitions for the Google Fonts subsetter"; homepage = "https://github.com/googlefonts/nam-files"; - changelog = "https://github.com/googlefonts/nam-files/releases/tag/${gitTag}"; + changelog = "https://github.com/googlefonts/nam-files/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ danc86 ]; };