From e8c8b345d837935d8ebc24ee633e1f1fd57d24f1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Apr 2026 23:17:41 +0200 Subject: [PATCH] past-time: 0.3.1 -> 0.4.0 Diff: https://github.com/fabaff/past-time/compare/0.3.1...0.4.0 Changelog: https://github.com/fabaff/past-time/releases/tag/0.4.0 --- pkgs/by-name/pa/past-time/package.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/pa/past-time/package.nix b/pkgs/by-name/pa/past-time/package.nix index fa8cf108477d..1441882d7f7e 100644 --- a/pkgs/by-name/pa/past-time/package.nix +++ b/pkgs/by-name/pa/past-time/package.nix @@ -6,22 +6,20 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "past-time"; - version = "0.3.1"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "fabaff"; repo = "past-time"; tag = finalAttrs.version; - hash = "sha256-NSuU33vuHbgJ+cG0FrGYLizIrG7jSz+veptt3D4UegY="; + hash = "sha256-1t43GAcA3Dd5F2xO0JMmq8f5cbmmcO2I7TIGaVa1ebw="; }; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ - click + dependencies = with python3.pkgs; [ + cyclopts tqdm ]; @@ -30,15 +28,13 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pytestCheckHook ]; - pythonImportsCheck = [ - "past_time" - ]; + pythonImportsCheck = [ "past_time" ]; meta = { description = "Tool to visualize the progress of the year based on the past days"; homepage = "https://github.com/fabaff/past-time"; changelog = "https://github.com/fabaff/past-time/releases/tag/${finalAttrs.version}"; - license = with lib.licenses; [ asl20 ]; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; mainProgram = "past-time"; };