diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix b/nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix new file mode 100644 index 000000000000..38b0cc88bb1e --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix @@ -0,0 +1,33 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "timetagger_cli"; + version = "23.8.3"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "almarklein"; + repo = "timetagger_cli"; + rev = "refs/tags/v${version}"; + hash = "sha256-vOpwMR7/EGf/l5KvlHn7mQ1vGGZ1Whd5x2uxLV9nCbk="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + requests + toml + ]; + + # Project has no tests + doCheck = false; + + meta = with lib; { + description = "Track your time from the command-line "; + homepage = "https://github.com/almarklein/timetagger_cli"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} + |