From bcee192ea5260509d3ca398fdc84ef64dc31354b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 18 Jun 2026 14:58:08 -0700 Subject: [PATCH] python3Packages.fontpens: 0.3.0 -> 0.4.0 Diff: https://github.com/robotools/fontpens/compare/v0.3.0...v0.4.0 Changelog: https://github.com/robotools/fontPens/releases/tag/v0.4.0 --- .../python-modules/fontpens/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/fontpens/default.nix b/pkgs/development/python-modules/fontpens/default.nix index 0ed674c0de5a..480fd2feaca8 100644 --- a/pkgs/development/python-modules/fontpens/default.nix +++ b/pkgs/development/python-modules/fontpens/default.nix @@ -3,22 +3,26 @@ buildPythonPackage, fetchFromGitHub, fonttools, - setuptools, + hatch-vcs, + hatchling, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "fontpens"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "robotools"; repo = "fontpens"; - tag = "v${version}"; - sha256 = "13msj0s7mg45klzbnd2w4f4ljb16bp9m0s872s6hczn0j7jmyz11"; + tag = "v${finalAttrs.version}"; + hash = "sha256-K768vbhacnuSRlmC3QG+7p+y8QiBtvqETvCYOuO1IxM="; }; - build-system = [ setuptools ]; + build-system = [ + hatch-vcs + hatchling + ]; dependencies = [ fonttools ]; @@ -43,9 +47,10 @@ buildPythonPackage rec { ]); meta = { + changelog = "https://github.com/robotools/fontPens/releases/tag/${finalAttrs.src.tag}"; description = "Collection of classes implementing the pen protocol for manipulating glyphs"; homepage = "https://github.com/robotools/fontPens"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.sternenseemann ]; }; -} +})