mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
49 lines
942 B
Nix
49 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 ];
|
|
};
|
|
}
|