Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 gettext, 6 pkg-config, 7 intltool, 8 gtk3, 9 libxfce4ui, 10 libxfce4util, 11 xfce4-dev-tools, 12 xfce4-panel, 13 i3ipc-glib, 14}: 15 16stdenv.mkDerivation rec { 17 pname = "xfce4-i3-workspaces-plugin"; 18 version = "1.4.2"; 19 20 src = fetchFromGitHub { 21 owner = "denesb"; 22 repo = "xfce4-i3-workspaces-plugin"; 23 rev = version; 24 sha256 = "sha256-CKpofupoJhe5IORJgij6gOGotB+dGkUDtTUdon8/JdE="; 25 }; 26 27 nativeBuildInputs = [ 28 gettext 29 pkg-config 30 intltool 31 xfce4-dev-tools 32 ]; 33 34 buildInputs = [ 35 gtk3 36 libxfce4ui 37 libxfce4util 38 xfce4-panel 39 i3ipc-glib 40 ]; 41 42 patches = [ 43 # Fix build with gettext 0.25 44 # https://hydra.nixos.org/build/302762031/nixlog/2 45 # FIXME: remove when gettext is fixed 46 ./gettext-0.25.patch 47 ]; 48 49 enableParallelBuilding = true; 50 51 meta = with lib; { 52 homepage = "https://github.com/denesb/xfce4-i3-workspaces-plugin"; 53 description = "Workspace switcher plugin for xfce4-panel which can be used for the i3 window manager"; 54 license = licenses.gpl3Plus; 55 platforms = platforms.unix; 56 maintainers = with maintainers; [ berbiche ]; 57 teams = [ teams.xfce ]; 58 }; 59}