nixpkgs/pkgs/tools/misc/timetagger_cli/default.nix
Matthias Beyer 0cbe9ce37c
timetagger_cli: init at 23.8.3
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-08-20 15:14:34 +02:00

34 lines
709 B
Nix

{ 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 ];
};
}