mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
libdex: init at 0.1.0
17f35418d2
https://gitlab.gnome.org/GNOME/libdex
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
0f4129cc5a
commit
f1e4f33ad8
63
pkgs/development/libraries/libdex/default.nix
Normal file
63
pkgs/development/libraries/libdex/default.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, gi-docgen
|
||||
, gobject-introspection
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, glib
|
||||
, liburing
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdex";
|
||||
version = "0.1.0";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = "libdex";
|
||||
rev = version;
|
||||
sha256 = "1SluktcmEf1CirYronhan8xmgY227hfnKE4VTPa9ICw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gi-docgen
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
vala
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
liburing
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Ddocs=true"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postFixup = ''
|
||||
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||
moveToOutput "share/doc" "$devdoc"
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library supporting deferred execution for GNOME and GTK";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libdex";
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
@ -21223,6 +21223,8 @@ with pkgs;
|
||||
|
||||
libdecor = callPackage ../development/libraries/libdecor { };
|
||||
|
||||
libdex = callPackage ../development/libraries/libdex { };
|
||||
|
||||
libdigidocpp = callPackage ../development/libraries/libdigidocpp { };
|
||||
|
||||
libdiscid = callPackage ../development/libraries/libdiscid { };
|
||||
|
Loading…
Reference in New Issue
Block a user