From 8760f8d0a16b793efa8137f5f5266ab16028f279 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 7 Jan 2024 10:18:36 +0100 Subject: [PATCH] annextimelog: init at 0.5.0 Signed-off-by: Matthias Beyer --- pkgs/by-name/an/annextimelog/package.nix | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/an/annextimelog/package.nix diff --git a/pkgs/by-name/an/annextimelog/package.nix b/pkgs/by-name/an/annextimelog/package.nix new file mode 100644 index 000000000000..c09807387780 --- /dev/null +++ b/pkgs/by-name/an/annextimelog/package.nix @@ -0,0 +1,35 @@ +{ lib +, python3 +, fetchFromGitLab +}: + +python3.pkgs.buildPythonApplication rec { + pname = "annextimelog"; + version = "0.5.0"; + format = "pyproject"; + + src = fetchFromGitLab { + owner = "nobodyinperson"; + repo = "annextimelog"; + rev = "v${version}"; + hash = "sha256-Q87SmzGaZ2rx+tsOgJIdxHaXK3Kda3jCkgH5y4wvLKE="; + }; + + nativeBuildInputs = with python3.pkgs; [ + setuptools + wheel + poetry-core + ]; + + propagatedBuildInputs = with python3.pkgs; [ + rich + ]; + + meta = with lib; { + description = "️Git Annex-backed Time Tracking"; + homepage = "https://gitlab.com/nobodyinperson/annextimelog"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} +