504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook
|
|
, cinnamon
|
|
, glib
|
|
, gsettings-desktop-schemas
|
|
, mate
|
|
, xdg-desktop-portal
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xdg-desktop-portal-xapp";
|
|
version = "1.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = "xdg-desktop-portal-xapp";
|
|
rev = version;
|
|
hash = "sha256-Zz44PCociYhUuHTS3HJNxJPCkiIl01FFe4//7jtgDsk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
cinnamon.cinnamon-desktop # org.cinnamon.desktop.background
|
|
glib
|
|
gsettings-desktop-schemas # org.gnome.system.location
|
|
mate.mate-desktop # org.mate.background
|
|
xdg-desktop-portal
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Backend implementation for xdg-desktop-portal for Cinnamon, MATE, Xfce";
|
|
homepage = "https://github.com/linuxmint/xdg-desktop-portal-xapp";
|
|
maintainers = teams.cinnamon.members;
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl21Plus;
|
|
};
|
|
}
|