topydo: clean up

This commit is contained in:
figsoda 2023-05-14 16:59:46 -04:00
parent 5fc7480c94
commit f0284ab4d8

View File

@ -1,13 +1,11 @@
{ lib, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales }:
{ lib, python3, fetchFromGitHub, fetchpatch, glibcLocales }:
with python3Packages;
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "topydo";
version = "0.14";
src = fetchFromGitHub {
owner = "bram85";
owner = "topydo";
repo = pname;
rev = version;
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
@ -22,16 +20,19 @@ buildPythonApplication rec {
})
];
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
arrow
icalendar
glibcLocales
icalendar
prompt-toolkit
urwid
watchdog
];
nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
nativeCheckInputs = with python3.pkgs; [
freezegun
unittestCheckHook
];
# Skip test that has been reported multiple times upstream without result:
# bram85/topydo#271, bram85/topydo#274.
@ -43,7 +44,9 @@ buildPythonApplication rec {
meta = with lib; {
description = "A cli todo application compatible with the todo.txt format";
homepage = "https://github.com/bram85/topydo";
license = licenses.gpl3;
homepage = "https://github.com/topydo/topydo";
changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
};
}