tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
topydo: clean up
figsoda
2 years ago
f0284ab4
5fc7480c
+13
-10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
topydo
default.nix
+13
-10
pkgs/applications/misc/topydo/default.nix
···
1
-
{ lib, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales }:
2
-
3
-
with python3Packages;
4
5
-
buildPythonApplication rec {
6
pname = "topydo";
7
version = "0.14";
8
9
src = fetchFromGitHub {
10
-
owner = "bram85";
11
repo = pname;
12
rev = version;
13
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
···
22
})
23
];
24
25
-
propagatedBuildInputs = [
26
arrow
27
-
icalendar
28
glibcLocales
0
29
prompt-toolkit
30
urwid
31
watchdog
32
];
33
34
-
nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
0
0
0
35
36
# Skip test that has been reported multiple times upstream without result:
37
# bram85/topydo#271, bram85/topydo#274.
···
43
44
meta = with lib; {
45
description = "A cli todo application compatible with the todo.txt format";
46
-
homepage = "https://github.com/bram85/topydo";
47
-
license = licenses.gpl3;
0
0
48
};
49
}
···
1
+
{ lib, python3, fetchFromGitHub, fetchpatch, glibcLocales }:
0
0
2
3
+
python3.pkgs.buildPythonApplication rec {
4
pname = "topydo";
5
version = "0.14";
6
7
src = fetchFromGitHub {
8
+
owner = "topydo";
9
repo = pname;
10
rev = version;
11
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
···
20
})
21
];
22
23
+
propagatedBuildInputs = with python3.pkgs; [
24
arrow
0
25
glibcLocales
26
+
icalendar
27
prompt-toolkit
28
urwid
29
watchdog
30
];
31
32
+
nativeCheckInputs = with python3.pkgs; [
33
+
freezegun
34
+
unittestCheckHook
35
+
];
36
37
# Skip test that has been reported multiple times upstream without result:
38
# bram85/topydo#271, bram85/topydo#274.
···
44
45
meta = with lib; {
46
description = "A cli todo application compatible with the todo.txt format";
47
+
homepage = "https://github.com/topydo/topydo";
48
+
changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md";
49
+
license = licenses.gpl3Plus;
50
+
maintainers = with maintainers; [ ];
51
};
52
}