nixpkgs/pkgs/tools/inputmethods/fcitx/fcitx-configtool.nix
R. RyanTM 9e867b8639 fcitx-configtool: 0.4.9 -> 0.4.10 (#43203)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/fcitx-configtool/versions.

These checks were done:

- built on NixOS
- fcitx result is not automatically checked, because some binaries gets stuck in daemons
2018-07-13 23:54:31 +02:00

27 lines
770 B
Nix

{ stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }:
stdenv.mkDerivation rec {
name = "fcitx-configtool-0.4.10";
meta = with stdenv.lib; {
description = "GTK-based config tool for Fcitx";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cdepillabout ];
};
src = fetchurl {
url = "https://download.fcitx-im.org/fcitx-configtool/${name}.tar.xz";
sha256 = "1yyi9jhkwn49lx9a47k1zbvwgazv4y4z72gnqgzdpgdzfrlrgi5w";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper fcitx cmake isocodes gtk3
gnome3.defaultIconTheme ];
preFixup = ''
wrapProgram $out/bin/fcitx-config-gtk3 \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS";
'';
}