2016-01-03 22:32:59 +03:00
|
|
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }:
|
2014-10-15 13:40:28 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-07-14 00:54:31 +03:00
|
|
|
name = "fcitx-configtool-0.4.10";
|
2014-10-15 13:40:28 +04:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GTK-based config tool for Fcitx";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cdepillabout ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 21:43:35 +03:00
|
|
|
url = "https://download.fcitx-im.org/fcitx-configtool/${name}.tar.xz";
|
2018-07-14 00:54:31 +03:00
|
|
|
sha256 = "1yyi9jhkwn49lx9a47k1zbvwgazv4y4z72gnqgzdpgdzfrlrgi5w";
|
2014-10-15 13:40:28 +04:00
|
|
|
};
|
|
|
|
|
2017-09-06 00:26:13 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ makeWrapper fcitx cmake isocodes gtk3
|
2019-02-14 00:47:50 +03:00
|
|
|
gnome3.adwaita-icon-theme ];
|
2016-01-03 22:32:59 +03:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram $out/bin/fcitx-config-gtk3 \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS";
|
|
|
|
'';
|
2014-10-15 13:40:28 +04:00
|
|
|
}
|
|
|
|
|