depot/third_party/nixpkgs/pkgs/tools/misc/dooit/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

48 lines
942 B
Nix

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