Loading pkgs/tools/misc/dooit/default.nix +14 −1 Original line number Diff line number Diff line { lib , fetchFromGitHub , dooit , python3 , testers }: python3.pkgs.buildPythonApplication rec { Loading @@ -10,7 +12,7 @@ python3.pkgs.buildPythonApplication rec { src = fetchFromGitHub { owner = "kraanzu"; repo = pname; repo = "dooit"; rev = "v${version}"; hash = "sha256-iQAGD6zrBBd4fJONaB7to1OJpAJUO0zeA1xhVQZBkMc="; }; Loading @@ -28,9 +30,20 @@ python3.pkgs.buildPythonApplication rec { tzlocal ]; # NOTE pyproject version was bumped after release tag 2.0.1 - remove after next release. postPatch = '' substituteInPlace pyproject.toml \ --replace "version = \"2.0.0\"" "version = \"2.0.1\"" ''; # No tests available doCheck = false; passthru.tests.version = testers.testVersion { package = dooit; command = "HOME=$(mktemp -d) dooit --version"; }; meta = with lib; { description = "A TUI todo manager"; homepage = "https://github.com/kraanzu/dooit"; Loading Loading
pkgs/tools/misc/dooit/default.nix +14 −1 Original line number Diff line number Diff line { lib , fetchFromGitHub , dooit , python3 , testers }: python3.pkgs.buildPythonApplication rec { Loading @@ -10,7 +12,7 @@ python3.pkgs.buildPythonApplication rec { src = fetchFromGitHub { owner = "kraanzu"; repo = pname; repo = "dooit"; rev = "v${version}"; hash = "sha256-iQAGD6zrBBd4fJONaB7to1OJpAJUO0zeA1xhVQZBkMc="; }; Loading @@ -28,9 +30,20 @@ python3.pkgs.buildPythonApplication rec { tzlocal ]; # NOTE pyproject version was bumped after release tag 2.0.1 - remove after next release. postPatch = '' substituteInPlace pyproject.toml \ --replace "version = \"2.0.0\"" "version = \"2.0.1\"" ''; # No tests available doCheck = false; passthru.tests.version = testers.testVersion { package = dooit; command = "HOME=$(mktemp -d) dooit --version"; }; meta = with lib; { description = "A TUI todo manager"; homepage = "https://github.com/kraanzu/dooit"; Loading