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