mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
531e4b80c9
Only acts on one-line dependency lists.
28 lines
768 B
Nix
28 lines
768 B
Nix
{ stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "fcitx-configtool-0.4.9";
|
|
|
|
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";
|
|
sha256 = "1ypr2jr3vzs2shqfrvhqy69xvagrn9x507180i9wxy14hb97a82r";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ makeWrapper fcitx cmake isocodes gtk3
|
|
gnome3.defaultIconTheme ];
|
|
|
|
preFixup = ''
|
|
wrapProgram $out/bin/fcitx-config-gtk3 \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS";
|
|
'';
|
|
}
|
|
|