Merge pull request #219987 from wesleyjrz/add-dooit

dooit: init at 1.0.1
This commit is contained in:
Ilan Joselevich 2023-04-02 09:33:06 +03:00 committed by GitHub
commit 78d19be60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 50 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -3228,6 +3228,8 @@ with pkgs;
dpt-rp1-py = callPackage ../tools/misc/dpt-rp1-py { };
dooit = callPackage ../tools/misc/dooit { };
doona = callPackage ../tools/security/doona { };
dotter = callPackage ../tools/misc/dotter {