Add ibus-anthy.

This commit is contained in:
Gabriel Ebner 2015-03-10 19:28:36 +01:00
parent f222abea44
commit fde4a0d442
3 changed files with 32 additions and 0 deletions

View File

@ -80,6 +80,7 @@
garbas = "Rok Garbas <rok@garbas.si>";
garrison = "Jim Garrison <jim@garrison.cc>";
gavin = "Gavin Rogers <gavin@praxeology.co.uk>";
gebner = "Gabriel Ebner <gebner@gebner.org>";
globin = "Robin Gloster <robin@glob.in>";
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
gridaphobe = "Eric Seidel <eric@seidel.io>";

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, makeWrapper, ibus, anthy, intltool, pkgconfig, glib, gobjectIntrospection, python, pythonPackages }:
let version = "1.5.4";
in stdenv.mkDerivation {
name = "ibus-anthy-${version}";
meta = with stdenv.lib; {
description = "IBus interface to the anthy input method";
homepace = https://code.google.com/p/ibus/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ gebner ];
};
buildInputs = [ makeWrapper ibus anthy intltool pkgconfig glib gobjectIntrospection python pythonPackages.pygobject3 ];
postFixup = ''
for file in "$out"/libexec/*; do
wrapProgram "$file" \
--prefix PYTHONPATH : $PYTHONPATH \
--prefix GI_TYPELIB_PATH : $GI_TYPELIB_PATH:$out/lib/girepository-1.0
done
'';
src = fetchurl {
url = "https://ibus.googlecode.com/files/ibus-anthy-${version}.tar.gz";
sha256 = "4c0a8b88a2c547e72173a7d682d82797f6c65fe712abe5f3b89495d4eec7b031";
};
}

View File

@ -955,6 +955,8 @@ let
anthy = callPackage ../tools/inputmethods/anthy { };
ibus-anthy = callPackage ../tools/inputmethods/ibus-anthy { };
biosdevname = callPackage ../tools/networking/biosdevname { };
clamav = callPackage ../tools/security/clamav { };