nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 mkXfceDerivation,
4 lib,
5 python3,
6 vala,
7 glib,
8 withIntrospection ?
9 lib.meta.availableOn stdenv.hostPlatform gobject-introspection
10 && stdenv.hostPlatform.emulatorAvailable buildPackages,
11 buildPackages,
12 gobject-introspection,
13}:
14
15mkXfceDerivation {
16 category = "xfce";
17 pname = "libxfce4util";
18 version = "4.20.1";
19
20 sha256 = "sha256-QlT5ev4NhjR/apbgYQsjrweJ2IqLySozLYLzCAnmkfM=";
21
22 nativeBuildInputs = [
23 python3
24 ]
25 ++ lib.optionals withIntrospection [
26 gobject-introspection
27 vala # vala bindings require GObject introspection
28 ];
29
30 propagatedBuildInputs = [
31 glib
32 ];
33
34 postPatch = ''
35 patchShebangs xdt-gen-visibility
36 '';
37
38 meta = with lib; {
39 description = "Extension library for Xfce";
40 mainProgram = "xfce4-kiosk-query";
41 license = licenses.lgpl2Plus;
42 teams = [ teams.xfce ];
43 };
44}