Unverified Commit 0ea458a9 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

Merge pull request #250346 from matthiasbeyer/add-timetagger-cli

timetagger_cli: init at 23.8.3
parents 90f562fc 0cbe9ce3
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13738,6 +13738,8 @@ with pkgs;
  timetagger = callPackage ../servers/timetagger { };
  timetagger_cli = callPackage ../tools/misc/timetagger_cli { };
  timezonemap = callPackage ../development/libraries/timezonemap { };
  tzupdate = callPackage ../applications/misc/tzupdate { };