lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 68 lines 1.3 kB view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 gi-docgen, 6 gobject-introspection, 7 meson, 8 ninja, 9 pkg-config, 10 vala, 11 glib, 12 liburing, 13 gnome, 14}: 15 16stdenv.mkDerivation (finalAttrs: { 17 pname = "libdex"; 18 version = "0.10.1"; 19 20 outputs = [ 21 "out" 22 "dev" 23 "devdoc" 24 ]; 25 26 src = fetchurl { 27 url = "mirror://gnome/sources/libdex/${lib.versions.majorMinor finalAttrs.version}/libdex-${finalAttrs.version}.tar.xz"; 28 hash = "sha256-dHLogJDbKyKDB1Be3rpEg+hyaBNAywQErmSsPaW+0KY="; 29 }; 30 31 nativeBuildInputs = [ 32 gi-docgen 33 gobject-introspection 34 meson 35 ninja 36 pkg-config 37 vala 38 ]; 39 40 buildInputs = [ 41 glib 42 liburing 43 ]; 44 45 mesonFlags = [ 46 "-Ddocs=true" 47 ]; 48 49 doCheck = true; 50 51 postFixup = '' 52 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 53 moveToOutput "share/doc" "$devdoc" 54 ''; 55 56 passthru.updateScript = gnome.updateScript { 57 packageName = "libdex"; 58 versionPolicy = "odd-unstable"; 59 }; 60 61 meta = with lib; { 62 description = "Library supporting deferred execution for GNOME and GTK"; 63 homepage = "https://gitlab.gnome.org/GNOME/libdex"; 64 teams = [ teams.gnome ]; 65 platforms = platforms.linux ++ platforms.darwin; 66 license = licenses.lgpl21Plus; 67 }; 68})