nixpkgs-suyu/pkgs/tools/inputmethods/uim/default.nix

53 lines
1.1 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, intltool, pkgconfig, qt4, gtk2, gtk3, kdelibs4, ncurses,
cmake, anthy, automoc4, m17n_lib, m17n_db}:
stdenv.mkDerivation rec {
version = "1.8.6";
name = "uim-${version}";
buildInputs = [
intltool
pkgconfig
qt4
gtk2
gtk3
kdelibs4
2016-05-17 00:26:15 +02:00
ncurses
cmake
2014-11-07 10:12:03 +01:00
anthy
automoc4
m17n_lib
m17n_db
];
patches = [ ./data-hook.patch ];
configureFlags = [
"--with-gtk2"
"--with-gtk3"
"--enable-kde4-applet"
"--enable-notify=knotify4"
"--enable-pref"
"--with-qt4"
"--with-qt4-immodule"
"--with-skk"
"--with-x"
2014-11-07 10:12:03 +01:00
"--with-anthy-utf8"
];
dontUseCmakeConfigure = true;
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/uim/uim-${version}.tar.bz2";
sha1 = "43b9dbdead6797880e6cfc9c032ecb2d37d42777";
};
meta = with stdenv.lib; {
homepage = "https://github.com/uim/uim";
description = "A multilingual input method framework";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
};
}