diff options
author | Aleksana | 2024-05-02 21:38:23 +0800 |
---|---|---|
committer | GitHub | 2024-05-02 21:38:23 +0800 |
commit | 14a29d478122cd34c44a1c676ebfd8378d190cb2 (patch) | |
tree | 790c2a99d2db643e3b096a7867f0ee3da8f9e3f7 /pkgs/by-name | |
parent | 8adc2dfa5e4781b41fc087949afcdfb6b94e56ff (diff) | |
parent | 62d9b8f7c980c1057549a78870526ed5765f7374 (diff) |
Merge pull request #304910 from buurro/init-trak
trak: init at 0.0.5
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/tr/trak/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/tr/trak/package.nix b/pkgs/by-name/tr/trak/package.nix new file mode 100644 index 000000000000..2129850159bd --- /dev/null +++ b/pkgs/by-name/tr/trak/package.nix @@ -0,0 +1,34 @@ +{ lib +, fetchFromGitHub +, python3Packages +}: + +python3Packages.buildPythonApplication rec { + pname = "trak"; + version = "0.0.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "lcfd"; + repo = "trak"; + rev = "v${version}"; + hash = "sha256-YJMX7pNRWdNPyWNZ1HfpdYsKSStRWLcianLz6nScMa8="; + }; + + sourceRoot = "${src.name}/cli"; + + dependencies = with python3Packages; [ + questionary + typer + ] ++ typer.optional-dependencies.all; + + build-system = [ python3Packages.poetry-core ]; + + meta = { + description = "Keep a record of the time you dedicate to your projects"; + homepage = "https://github.com/lcfd/trak"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ buurro ]; + mainProgram = "trak"; + }; +} |