Merge pull request #219987 from wesleyjrz/add-dooit
dooit: init at 1.0.1
This commit is contained in:
commit
78d19be60e
48
pkgs/tools/misc/dooit/default.nix
Normal file
48
pkgs/tools/misc/dooit/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user