60 lines
1.0 KiB
Nix
60 lines
1.0 KiB
Nix
|
|
{
|
||
|
|
stdenv,
|
||
|
|
lib,
|
||
|
|
mkXfceDerivation,
|
||
|
|
python3,
|
||
|
|
wayland-scanner,
|
||
|
|
glib,
|
||
|
|
gtk3,
|
||
|
|
libdisplay-info,
|
||
|
|
libwnck,
|
||
|
|
libX11,
|
||
|
|
libXrandr,
|
||
|
|
wayland,
|
||
|
|
wayland-protocols,
|
||
|
|
wlr-protocols,
|
||
|
|
withIntrospection ?
|
||
|
|
lib.meta.availableOn stdenv.hostPlatform gobject-introspection
|
||
|
|
&& stdenv.hostPlatform.emulatorAvailable buildPackages,
|
||
|
|
buildPackages,
|
||
|
|
gobject-introspection,
|
||
|
|
}:
|
||
|
|
|
||
|
|
mkXfceDerivation {
|
||
|
|
category = "xfce";
|
||
|
|
pname = "libxfce4windowing";
|
||
|
|
version = "4.20.4";
|
||
|
|
|
||
|
|
sha256 = "sha256-8iLkljuGyJ4giVN5yuOFuTZsrdr8U3avTS/1aRSpaxc=";
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
python3
|
||
|
|
wayland-scanner
|
||
|
|
]
|
||
|
|
++ lib.optionals withIntrospection [
|
||
|
|
gobject-introspection
|
||
|
|
];
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
glib
|
||
|
|
gtk3
|
||
|
|
libdisplay-info
|
||
|
|
libwnck
|
||
|
|
libX11
|
||
|
|
libXrandr
|
||
|
|
wayland
|
||
|
|
wayland-protocols
|
||
|
|
wlr-protocols
|
||
|
|
];
|
||
|
|
|
||
|
|
postPatch = ''
|
||
|
|
patchShebangs xdt-gen-visibility
|
||
|
|
'';
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "Windowing concept abstraction library for X11 and Wayland";
|
||
|
|
license = lib.licenses.lgpl21Plus;
|
||
|
|
teams = [ lib.teams.xfce ];
|
||
|
|
};
|
||
|
|
}
|