diff options
author | Wesley Jr <dev@wesleyjrz.com> | 2023-03-07 10:31:52 -0300 |
---|---|---|
committer | Wesley Jr <dev@wesleyjrz.com> | 2023-04-01 20:42:03 -0300 |
commit | 9ee646eec758c176e0217ee6b7e7887a1b0dd634 (patch) | |
tree | 29de8bf5fb772455ce585bd3409eebc747fbf427 /pkgs/tools/misc | |
parent | e5a748c2d5144ab1bf85598da16fccfb6f176c33 (diff) |
dooit: init at 1.0.1
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/dooit/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/tools/misc/dooit/default.nix b/pkgs/tools/misc/dooit/default.nix new file mode 100644 index 0000000000000..6610c13b6a745 --- /dev/null +++ b/pkgs/tools/misc/dooit/default.nix @@ -0,0 +1,48 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "dooit"; + version = "1.0.1"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "kraanzu"; + repo = pname; + rev = "v${version}"; + hash = "sha256-7a6xoqbAmnGVUVppQTSo4hH44XFCqBnF7xO7sOVySY0="; + }; + + # Required versions not available + pythonRelaxDeps = [ + "textual" + "tzlocal" + ]; + + nativeBuildInputs = with python3.pkgs; [ + poetry-core + pythonRelaxDepsHook + ]; + + propagatedBuildInputs = with python3.pkgs; [ + textual + pyperclip + pyyaml + dateparser + tzlocal + appdirs + ]; + + # No tests available + doCheck = false; + + meta = with lib; { + description = "A TUI todo manager"; + homepage = "https://github.com/kraanzu/dooit"; + changelog = "https://github.com/kraanzu/dooit/blob/v${version}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ wesleyjrz ]; + }; +} |