nixpkgs/pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix

51 lines
1.2 KiB
Nix
Raw Normal View History

2021-06-23 18:22:04 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, python3, imagemagick, libwnck, libxfce4ui, xfce4-panel, xfconf, xfce4-dev-tools, xfce }:
2017-01-02 22:21:15 +00:00
stdenv.mkDerivation rec {
pname = "xfce4-windowck-plugin";
version = "0.4.10";
2017-01-02 22:21:15 +00:00
src = fetchFromGitHub {
owner = "invidian";
repo = pname;
2017-01-02 22:21:15 +00:00
rev = "v${version}";
sha256 = "sha256-luCQzqWX3Jl2MlBa3vi1q7z1XOhpFxE8PUxscoIyBlA=";
2017-01-02 22:21:15 +00:00
};
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config
intltool
];
buildInputs = [
python3
imagemagick
2021-06-23 18:22:04 +00:00
libwnck
libxfce4ui
xfce4-panel
xfconf
xfce4-dev-tools
];
2017-01-02 22:21:15 +00:00
2017-02-27 11:51:26 +00:00
preConfigure = ''
./autogen.sh
patchShebangs .
'';
2017-01-02 22:21:15 +00:00
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";
2017-01-02 22:21:15 +00:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.volth ];
};
}