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, fetchFromGitLab
4, gi-docgen
5, gobject-introspection
6, meson
7, ninja
8, pkg-config
9, vala
10, glib
11, liburing
12, gnome
13}:
14
15stdenv.mkDerivation rec {
16 pname = "libdex";
17 version = "0.2.0";
18
19 outputs = [ "out" "dev" "devdoc" ];
20
21 src = fetchFromGitLab {
22 domain = "gitlab.gnome.org";
23 owner = "GNOME";
24 repo = "libdex";
25 rev = version;
26 sha256 = "54TwMdO29jordVqlBsMZOVtHc7s7ivf/4OkpCSNu7VE=";
27 };
28
29 nativeBuildInputs = [
30 gi-docgen
31 gobject-introspection
32 meson
33 ninja
34 pkg-config
35 vala
36 ];
37
38 buildInputs = [
39 glib
40 liburing
41 ];
42
43 mesonFlags = [
44 "-Ddocs=true"
45 ];
46
47 doCheck = true;
48
49 postFixup = ''
50 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
51 moveToOutput "share/doc" "$devdoc"
52 '';
53
54 passthru.updateScript = gnome.updateScript {
55 packageName = "libdex";
56 };
57
58 meta = with lib; {
59 description = "Library supporting deferred execution for GNOME and GTK";
60 homepage = "https://gitlab.gnome.org/GNOME/libdex";
61 maintainers = teams.gnome.members;
62 platforms = platforms.linux;
63 license = licenses.lgpl21Plus;
64 };
65}