mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Merge pull request #250346 from matthiasbeyer/add-timetagger-cli
timetagger_cli: init at 23.8.3
This commit is contained in:
commit
0ea458a980
33
pkgs/tools/misc/timetagger_cli/default.nix
Normal file
33
pkgs/tools/misc/timetagger_cli/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -13738,6 +13738,8 @@ with pkgs;
|
|||||||
|
|
||||||
timetagger = callPackage ../servers/timetagger { };
|
timetagger = callPackage ../servers/timetagger { };
|
||||||
|
|
||||||
|
timetagger_cli = callPackage ../tools/misc/timetagger_cli { };
|
||||||
|
|
||||||
timezonemap = callPackage ../development/libraries/timezonemap { };
|
timezonemap = callPackage ../development/libraries/timezonemap { };
|
||||||
|
|
||||||
tzupdate = callPackage ../applications/misc/tzupdate { };
|
tzupdate = callPackage ../applications/misc/tzupdate { };
|
||||||
|
Loading…
Reference in New Issue
Block a user