fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv
2, lib
3, gettext
4, fetchurl
5, python3
6, meson
7, ninja
8, pkg-config
9, gtk3
10, glib
11, gjs
12, enableWebkit2gtk ? stdenv.isLinux
13, webkitgtk_4_1
14, gobject-introspection
15, wrapGAppsHook3
16, itstool
17, libxml2
18, docbook-xsl-nons
19, docbook_xml_dtd_42
20, gnome
21, gdk-pixbuf
22, libxslt
23, gsettings-desktop-schemas
24}:
25
26stdenv.mkDerivation rec {
27 pname = "glade";
28 version = "3.40.0";
29
30 src = fetchurl {
31 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32 sha256 = "McmtrqhJlyq5UXtWThmsGZd8qXdYsQntwxZwCPU+PZw=";
33 };
34
35 nativeBuildInputs = [
36 meson
37 ninja
38 pkg-config
39 gettext
40 itstool
41 wrapGAppsHook3
42 docbook-xsl-nons
43 docbook_xml_dtd_42
44 libxslt
45 libxml2
46 gobject-introspection
47 ];
48
49 buildInputs = [
50 gtk3
51 glib
52 gjs
53 libxml2
54 python3
55 python3.pkgs.pygobject3
56 gsettings-desktop-schemas
57 gdk-pixbuf
58 gnome.adwaita-icon-theme
59 ] ++ lib.optionals enableWebkit2gtk [
60 webkitgtk_4_1
61 ];
62
63 mesonFlags = [
64 (lib.mesonEnable "webkit2gtk" enableWebkit2gtk)
65 ];
66
67 postPatch = ''
68 substituteInPlace meson.build \
69 --replace 'webkit2gtk-4.0' 'webkit2gtk-4.1'
70 '';
71
72 passthru = {
73 updateScript = gnome.updateScript {
74 packageName = pname;
75 };
76 };
77
78 meta = with lib; {
79 homepage = "https://gitlab.gnome.org/GNOME/glade";
80 description = "User interface designer for GTK applications";
81 maintainers = teams.gnome.members;
82 license = licenses.lgpl2;
83 platforms = platforms.unix;
84 };
85}