depot/third_party/nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

50 lines
1.2 KiB
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, python3, imagemagick, libwnck, libxfce4ui, xfce4-panel, xfconf, xfce4-dev-tools, xfce }:
stdenv.mkDerivation rec {
pname = "xfce4-windowck-plugin";
version = "0.4.10";
src = fetchFromGitHub {
owner = "invidian";
repo = pname;
rev = "v${version}";
sha256 = "sha256-luCQzqWX3Jl2MlBa3vi1q7z1XOhpFxE8PUxscoIyBlA=";
};
nativeBuildInputs = [
pkg-config
intltool
];
buildInputs = [
python3
imagemagick
libwnck
libxfce4ui
xfce4-panel
xfconf
xfce4-dev-tools
];
preConfigure = ''
./autogen.sh
patchShebangs .
'';
enableParallelBuilding = true;
passthru.updateScript = xfce.updateScript {
inherit pname version;
attrPath = "xfce.${pname}";
versionLister = xfce.gitLister src.meta.homepage;
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin";
description = "Xfce plugins which allows to put the maximized window title and buttons on the panel";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.volth ];
};
}