Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 59 lines 1.1 kB view raw
1{ 2 stdenv, 3 lib, 4 mkXfceDerivation, 5 python3, 6 wayland-scanner, 7 glib, 8 gtk3, 9 libdisplay-info, 10 libwnck, 11 libX11, 12 libXrandr, 13 wayland, 14 wayland-protocols, 15 wlr-protocols, 16 withIntrospection ? 17 lib.meta.availableOn stdenv.hostPlatform gobject-introspection 18 && stdenv.hostPlatform.emulatorAvailable buildPackages, 19 buildPackages, 20 gobject-introspection, 21}: 22 23mkXfceDerivation { 24 category = "xfce"; 25 pname = "libxfce4windowing"; 26 version = "4.20.3"; 27 28 sha256 = "sha256-l58cTz28UPSVfoIpjBCoSwcqdUJfG9e4UlhVYPyEeAs="; 29 30 nativeBuildInputs = [ 31 python3 32 wayland-scanner 33 ] 34 ++ lib.optionals withIntrospection [ 35 gobject-introspection 36 ]; 37 38 buildInputs = [ 39 glib 40 gtk3 41 libdisplay-info 42 libwnck 43 libX11 44 libXrandr 45 wayland 46 wayland-protocols 47 wlr-protocols 48 ]; 49 50 postPatch = '' 51 patchShebangs xdt-gen-visibility 52 ''; 53 54 meta = { 55 description = "Windowing concept abstraction library for X11 and Wayland"; 56 license = lib.licenses.lgpl21Plus; 57 teams = [ lib.teams.xfce ]; 58 }; 59}