From 41598c008f225708cbbe4ece10b8164423caff1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 May 2026 16:54:43 +0200 Subject: [PATCH] python3Packages.convertdate: 2.4.0 -> 2.4.1 Diff: https://github.com/fitnr/convertdate/compare/v2.4.1...v2.4.1 Changelog: https://github.com/fitnr/convertdate/releases/tag/v2.4.1 --- .../python-modules/convertdate/default.nix | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/convertdate/default.nix b/pkgs/development/python-modules/convertdate/default.nix index ded32b61f2ca..009efacb0e7f 100644 --- a/pkgs/development/python-modules/convertdate/default.nix +++ b/pkgs/development/python-modules/convertdate/default.nix @@ -5,21 +5,24 @@ pymeeus, pytz, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "convertdate"; - version = "2.4.0"; - format = "setuptools"; + version = "2.4.1"; + pyproject = true; src = fetchFromGitHub { owner = "fitnr"; repo = "convertdate"; - rev = "v${version}"; - hash = "sha256-iOHK3UJulXJJR50nhiVgfk3bt+CAtG3BRySJ8DkBuJE="; + tag = "v${finalAttrs.version}"; + hash = "sha256-YgLKUSg95j9rRejkmep+Levy5Rvnl/kXEiXuS7hazbY="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ pymeeus pytz ]; @@ -30,9 +33,10 @@ buildPythonPackage rec { meta = { description = "Utils for converting between date formats and calculating holidays"; - mainProgram = "censusgeocode"; homepage = "https://github.com/fitnr/convertdate"; + changelog = "https://github.com/fitnr/convertdate/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jluttine ]; + mainProgram = "censusgeocode"; }; -} +})