tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gnome.gpaste: Upgrade for GNOME 43
Jan Tojnar
3 years ago
a05b4f2b
d8e3c9ca
+26
-4
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
gnome
misc
gpaste
default.nix
+26
-4
pkgs/desktops/gnome/misc/gpaste/default.nix
···
9
, gobject-introspection
10
, gtk3
11
, gtk4
0
12
, libadwaita
13
, meson
14
, mutter
···
16
, pango
17
, pkg-config
18
, vala
0
19
, wrapGAppsHook
20
}:
21
···
32
33
patches = [
34
./fix-paths.patch
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
35
];
36
37
# TODO: switch to substituteAll with placeholder
···
52
ninja
53
pkg-config
54
vala
0
55
wrapGAppsHook
56
];
57
···
61
glib
62
gtk3
63
gtk4
0
64
libadwaita
65
mutter
66
pango
···
71
"-Ddbus-services-dir=${placeholder "out"}/share/dbus-1/services"
72
"-Dsystemd-user-unit-dir=${placeholder "out"}/etc/systemd/user"
73
];
74
-
75
-
postInstall = ''
76
-
${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas"
77
-
'';
78
79
meta = with lib; {
80
homepage = "https://github.com/Keruspe/GPaste";
···
9
, gobject-introspection
10
, gtk3
11
, gtk4
12
+
, gcr_4
13
, libadwaita
14
, meson
15
, mutter
···
17
, pango
18
, pkg-config
19
, vala
20
+
, desktop-file-utils
21
, wrapGAppsHook
22
}:
23
···
34
35
patches = [
36
./fix-paths.patch
37
+
38
+
# Fix GNOME 43 compatibility.
39
+
(fetchpatch {
40
+
url = "https://github.com/Keruspe/GPaste/commit/eece9c374a823234bc20e58bf95bb10ace9590f4.patch";
41
+
sha256 = "+GoiNsge+ki2X3OIoFA+r3K8WLN00nExYj8gDuCSNiA=";
42
+
})
43
+
(fetchpatch {
44
+
url = "https://github.com/Keruspe/GPaste/commit/614bbe65e7d8f2ddca447daaada86156334bb71a.patch";
45
+
sha256 = "q6fjBTVRx6/5xf5ZhQJpvnwvroLiNxF73P7vTFTmNqI=";
46
+
})
47
+
(fetchpatch {
48
+
url = "https://github.com/Keruspe/GPaste/commit/971e690a74b4de6b78bdaf1300507a6190ffb474.patch";
49
+
sha256 = "bCLnuLqLgq7BlZN49NFrQjbCJBneVHl1t+WnAAIofkY=";
50
+
})
51
+
(fetchpatch {
52
+
url = "https://github.com/Keruspe/GPaste/commit/0378cb4a657042ce5321f1d9728cff31e55bede6.patch";
53
+
sha256 = "0Ngr+/fS5/wICR84GEiE0pXEXQ/f/3G59lDivH167m8=";
54
+
})
55
+
(fetchpatch {
56
+
url = "https://github.com/Keruspe/GPaste/commit/6d29385f8c935b1def28340bc165ca6a7756f29b.patch";
57
+
sha256 = "crkkIrLwogRzr1JfJEt5TPK65Y4zY1H5Gt+s0z3A8Dg=";
58
+
})
59
];
60
61
# TODO: switch to substituteAll with placeholder
···
76
ninja
77
pkg-config
78
vala
79
+
desktop-file-utils
80
wrapGAppsHook
81
];
82
···
86
glib
87
gtk3
88
gtk4
89
+
gcr_4
90
libadwaita
91
mutter
92
pango
···
97
"-Ddbus-services-dir=${placeholder "out"}/share/dbus-1/services"
98
"-Dsystemd-user-unit-dir=${placeholder "out"}/etc/systemd/user"
99
];
0
0
0
0
100
101
meta = with lib; {
102
homepage = "https://github.com/Keruspe/GPaste";