nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin.nix
2018-03-12 23:01:06 +00:00

35 lines
1.0 KiB
Nix

{ stdenv, fetchFromGitHub, pkgconfig, intltool, python3, imagemagick, libwnck, gtk2
, exo, libxfce4ui, libxfce4util, xfce4-panel, xfconf, xfce4-dev-tools }:
stdenv.mkDerivation rec {
p_name = "xfce4-windowck-plugin";
version = "0.4.4";
src = fetchFromGitHub {
owner = "cedl38";
repo = "xfce4-windowck-plugin";
rev = "v${version}";
sha256 = "0c6a1ibh39dpq9x0dha5lsg0vzmgaf051fgwz0nlky0s94nwzvgv";
};
name = "${p_name}-${version}";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool python3 imagemagick libwnck gtk2
exo libxfce4ui libxfce4util xfce4-panel xfconf xfce4-dev-tools ];
preConfigure = ''
./autogen.sh
patchShebangs .
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "Set of two plugins which allows you to put the maximized window title and windows buttons on the panel";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.volth ];
};
}