mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
37 lines
1019 B
Nix
37 lines
1019 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig, intltool, libxfce4util, libxfcegui4
|
|
, xfce4panel, gtk, exo, garcon }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
p_name = "xfce4-whiskermenu-plugin";
|
|
version = "1.6.1";
|
|
|
|
name = "${p_name}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gottcode";
|
|
repo = "xfce4-whiskermenu-plugin";
|
|
rev = "v${version}";
|
|
sha256 = "19hldrrgy7qmrncv5rfsclybycjp9rjfnslhm996h62d2p675qpc";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig intltool ];
|
|
|
|
buildInputs = [ libxfce4util libxfcegui4 xfce4panel gtk exo garcon ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
substituteInPlace $out/bin/xfce4-popup-whiskermenu \
|
|
--replace $out/bin/xfce4-panel ${xfce4panel.out}/bin/xfce4-panel
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
|
|
description = "Alternate application launcher for Xfce";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.pjbarnoy ];
|
|
};
|
|
}
|