diff --git a/pkgs/by-name/kl/klog-time-tracker/package.nix b/pkgs/by-name/kl/klog-time-tracker/package.nix new file mode 100644 index 000000000000..d4fbb4782b8e --- /dev/null +++ b/pkgs/by-name/kl/klog-time-tracker/package.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "klog-time-tracker"; + version = "6.2"; + + src = fetchFromGitHub { + owner = "jotaen"; + repo = "klog"; + rev = "v${version}"; + hash = "sha256-PFYPthrschw6XEf128L7yBygrVR3E3rtATCpxXGFRd4="; + }; + + vendorHash = "sha256-X5xL/4blWjddJsHwwfLpGjHrfia1sttmmqHjaAIVXVo="; + + meta = with lib; { + description = "Command line tool for time tracking in a human-readable, plain-text file format"; + homepage = "https://klog.jotaen.net"; + license = licenses.mit; + maintainers = [ maintainers.blinry ]; + mainProgram = "klog"; + }; +}