annextimelog: 0.13.1 -> 0.14.0 (#389284)

This commit is contained in:
Matthias Beyer 2025-03-19 19:44:28 +01:00 committed by GitHub
commit 7d4abf4e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,32 +2,44 @@
lib,
python3,
fetchFromGitLab,
fetchPypi,
}:
let
tzdata = python3.pkgs.tzdata.overrideAttrs rec {
version = "2023.4";
src = fetchPypi {
pname = "tzdata";
inherit version;
hash = "sha256-3VTJTylHZVIsdzmWSbT+/ZVSJHmmZKDOyH9BvrxhSMk=";
};
};
in
python3.pkgs.buildPythonApplication rec {
pname = "annextimelog";
version = "0.13.1";
version = "0.14.0";
format = "pyproject";
src = fetchFromGitLab {
owner = "nobodyinperson";
repo = "annextimelog";
rev = "v${version}";
hash = "sha256-VgeILw8WfqVrmsU/kBw+jHTOt2a6sVT7YgP2pKRp2AY=";
hash = "sha256-+3PkG33qKckagSVvVdqkypulO7uu5AMOv8fQiP8IUbs=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
wheel
poetry-core
];
] ++ [ tzdata ];
propagatedBuildInputs = with python3.pkgs; [
rich
];
meta = with lib; {
description = "Git Annex-backed Time Tracking";
description = "git-annex based cli time tracker";
homepage = "https://gitlab.com/nobodyinperson/annextimelog";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ matthiasbeyer ];