2016-01-03 20:32:59 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }:
|
2014-10-15 11:40:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-26 08:47:14 +02:00
|
|
|
name = "fcitx-configtool-0.4.9";
|
2014-10-15 11:40:28 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GTK-based config tool for Fcitx";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cdepillabout ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.fcitx-im.org/fcitx-configtool/${name}.tar.xz";
|
2017-04-26 08:47:14 +02:00
|
|
|
sha256 = "1ypr2jr3vzs2shqfrvhqy69xvagrn9x507180i9wxy14hb97a82r";
|
2014-10-15 11:40:28 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ makeWrapper fcitx cmake isocodes gtk3
|
2016-01-03 20:32:59 +01:00
|
|
|
gnome3.defaultIconTheme ];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram $out/bin/fcitx-config-gtk3 \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS";
|
|
|
|
'';
|
2014-10-15 11:40:28 +02:00
|
|
|
}
|
|
|
|
|