Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 66 lines 1.1 kB view raw
1{ 2 stdenv, 3 mkXfceDerivation, 4 lib, 5 perl, 6 libICE, 7 libSM, 8 libepoxy, 9 libgtop, 10 libgudev, 11 libstartup_notification, 12 xfconf, 13 gtk3, 14 libxfce4util, 15 withIntrospection ? 16 lib.meta.availableOn stdenv.hostPlatform gobject-introspection 17 && stdenv.hostPlatform.emulatorAvailable buildPackages, 18 buildPackages, 19 gobject-introspection, 20 vala, 21}: 22 23mkXfceDerivation { 24 category = "xfce"; 25 pname = "libxfce4ui"; 26 version = "4.20.1"; 27 28 sha256 = "sha256-CY9KCCbKBAuoYAJtPHlQj04dUuCZAovnyJsBgjzzQkI="; 29 30 nativeBuildInputs = [ 31 perl 32 ] 33 ++ lib.optionals withIntrospection [ 34 gobject-introspection 35 vala # vala bindings require GObject introspection 36 ]; 37 38 buildInputs = [ 39 libICE 40 libSM 41 libepoxy 42 libgtop 43 libgudev 44 libstartup_notification 45 xfconf 46 ]; 47 48 propagatedBuildInputs = [ 49 gtk3 50 libxfce4util 51 ]; 52 53 configureFlags = [ 54 "--with-vendor-info=NixOS" 55 ]; 56 57 meta = with lib; { 58 description = "Widgets library for Xfce"; 59 mainProgram = "xfce4-about"; 60 license = with licenses; [ 61 lgpl2Plus 62 lgpl21Plus 63 ]; 64 teams = [ teams.xfce ]; 65 }; 66}