tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wike: 1.7.1 -> 2.0.1
zendo
2 years ago
bfc30718
351cec5d
+31
-16
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
wike
default.nix
+31
-16
pkgs/applications/misc/wike/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub
2
2
-
, meson, pkg-config, ninja
1
1
+
{ lib
2
2
+
, fetchFromGitHub
3
3
, python3
4
4
-
, glib, appstream-glib , desktop-file-utils
5
5
-
, gobject-introspection, gtk3
6
6
-
, wrapGAppsHook
7
7
-
, libhandy, webkitgtk, glib-networking
8
8
-
, gnome, dconf
4
4
+
, meson
5
5
+
, ninja
6
6
+
, pkg-config
7
7
+
, appstream-glib
8
8
+
, desktop-file-utils
9
9
+
, gobject-introspection
10
10
+
, wrapGAppsHook4
11
11
+
, glib
12
12
+
, gtk4
13
13
+
, librsvg
14
14
+
, libadwaita
15
15
+
, glib-networking
16
16
+
, webkitgtk_6_0
9
17
}:
10
18
11
19
python3.pkgs.buildPythonApplication rec {
12
20
pname = "wike";
13
13
-
version = "1.7.1";
21
21
+
version = "2.0.1";
14
22
format = "other";
15
23
16
24
src = fetchFromGitHub {
17
25
owner = "hugolabe";
18
26
repo = "Wike";
19
27
rev = version;
20
20
-
sha256 = "sha256-QLhfzGRrc2En0Hu+UdtPM572PdtXqOFL0W3LoAki4jI=";
28
28
+
hash = "sha256-R8Zg/2tr9MrmtTdbvqD+Ra8+MEBJdgMqC3ptx1VgkeA=";
21
29
};
22
30
23
31
nativeBuildInputs = [
···
27
35
appstream-glib
28
36
desktop-file-utils
29
37
gobject-introspection
30
30
-
wrapGAppsHook
38
38
+
wrapGAppsHook4
31
39
];
32
40
33
41
buildInputs = [
34
42
glib
35
35
-
gtk3
36
36
-
libhandy
37
37
-
webkitgtk
43
43
+
gtk4
44
44
+
librsvg
45
45
+
libadwaita
38
46
glib-networking
39
39
-
gnome.adwaita-icon-theme
40
40
-
dconf
47
47
+
webkitgtk_6_0
41
48
];
42
49
43
50
propagatedBuildInputs = with python3.pkgs; [
···
47
54
48
55
postPatch = ''
49
56
patchShebangs build-aux/meson/postinstall.py
57
57
+
substituteInPlace build-aux/meson/postinstall.py \
58
58
+
--replace gtk-update-icon-cache gtk4-update-icon-cache
59
59
+
'';
60
60
+
61
61
+
# prevent double wrapping
62
62
+
dontWrapGApps = true;
63
63
+
preFixup = ''
64
64
+
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
50
65
'';
51
66
52
67
meta = with lib; {
53
68
description = "Wikipedia Reader for the GNOME Desktop";
54
69
homepage = "https://github.com/hugolabe/Wike";
55
70
license = licenses.gpl3Plus;
56
56
-
platforms = webkitgtk.meta.platforms;
71
71
+
platforms = platforms.linux;
57
72
maintainers = with maintainers; [ samalws ];
58
73
};
59
74
}