diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-03 00:13:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 00:13:16 +0000 |
commit | 26d2f291dffdcb7e5f40896be3fc3bc72538dbd0 (patch) | |
tree | 5eab6c80968fb769f5433bc2fa6b96f102d17701 /pkgs/by-name/tr/trak/package.nix | |
parent | 2918b2c876b74d0ba5e333676ee86228f51c24e8 (diff) | |
parent | 172094c8c1f83ee7f6d7dd10e64fdc7da0e4ac3b (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/by-name/tr/trak/package.nix')
-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 0000000000000..2129850159bd3 --- /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"; + }; +} |