about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorMatthias Beyer2024-04-07 09:54:21 +0200
committerGitHub2024-04-07 09:54:21 +0200
commit0d64181d1310d5637a9095e70ba21d9042a7835f (patch)
treed8abcde33aa45dea13fe874c354f59cba7d096ef /pkgs/by-name
parentb85364a528b13e2619659e9c994ea967a2b4df36 (diff)
parentbe1946ac214755c9fe215f8f65edffed9be0b42f (diff)
Merge pull request #279322 from matthiasbeyer/add-annextimelog
annextimelog: init at 0.13.1
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/an/annextimelog/package.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/by-name/an/annextimelog/package.nix b/pkgs/by-name/an/annextimelog/package.nix
new file mode 100644
index 000000000000..799525ea8824
--- /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.13.1";
+  format = "pyproject";
+
+  src = fetchFromGitLab {
+    owner = "nobodyinperson";
+    repo = "annextimelog";
+    rev = "v${version}";
+    hash = "sha256-VgeILw8WfqVrmsU/kBw+jHTOt2a6sVT7YgP2pKRp2AY=";
+  };
+
+  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 ];
+  };
+}
+