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
1
-
{ lib, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales }:
2
2
-
3
3
-
with python3Packages;
1
1
+
{ lib, python3, fetchFromGitHub, fetchpatch, glibcLocales }:
4
2
5
5
-
buildPythonApplication rec {
3
3
+
python3.pkgs.buildPythonApplication rec {
6
4
pname = "topydo";
7
5
version = "0.14";
8
6
9
7
src = fetchFromGitHub {
10
10
-
owner = "bram85";
8
8
+
owner = "topydo";
11
9
repo = pname;
12
10
rev = version;
13
11
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
···
22
20
})
23
21
];
24
22
25
25
-
propagatedBuildInputs = [
23
23
+
propagatedBuildInputs = with python3.pkgs; [
26
24
arrow
27
27
-
icalendar
28
25
glibcLocales
26
26
+
icalendar
29
27
prompt-toolkit
30
28
urwid
31
29
watchdog
32
30
];
33
31
34
34
-
nativeCheckInputs = [ unittestCheckHook mock freezegun pylint ];
32
32
+
nativeCheckInputs = with python3.pkgs; [
33
33
+
freezegun
34
34
+
unittestCheckHook
35
35
+
];
35
36
36
37
# Skip test that has been reported multiple times upstream without result:
37
38
# bram85/topydo#271, bram85/topydo#274.
···
43
44
44
45
meta = with lib; {
45
46
description = "A cli todo application compatible with the todo.txt format";
46
46
-
homepage = "https://github.com/bram85/topydo";
47
47
-
license = licenses.gpl3;
47
47
+
homepage = "https://github.com/topydo/topydo";
48
48
+
changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md";
49
49
+
license = licenses.gpl3Plus;
50
50
+
maintainers = with maintainers; [ ];
48
51
};
49
52
}