ibus-anthy: 1.5.7 -> 1.5.8

+13 -7
+13 -7
pkgs/tools/inputmethods/ibus-engines/ibus-anthy/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, ibus, anthy, intltool, pkgconfig, glib, gobjectIntrospection, python, pythonPackages }: 1 + { stdenv, fetchFromGitHub, makeWrapper, ibus, anthy, intltool, pkgconfig, glib, gobjectIntrospection, 2 + python, pythonPackages, gtk3, libtool, automake, autoconf }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 name = "ibus-anthy-${version}"; 5 - version = "1.5.7"; 6 + version = "1.5.8"; 6 7 7 8 meta = with stdenv.lib; { 8 9 description = "IBus interface to the anthy input method"; 9 10 homepage = http://wiki.github.com/fujiwarat/ibus-anthy; 10 11 license = licenses.gpl2Plus; 11 12 platforms = platforms.linux; 12 - maintainers = with maintainers; [ gebner ]; 13 + maintainers = with maintainers; [ gebner ericsagnes ]; 13 14 }; 14 15 16 + preConfigure = "./autogen.sh --prefix=$out"; 17 + 15 18 configureFlags = "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t"; 16 19 17 - buildInputs = [ makeWrapper ibus anthy intltool pkgconfig glib gobjectIntrospection python pythonPackages.pygobject3 ]; 20 + buildInputs = [ makeWrapper ibus anthy intltool pkgconfig glib gobjectIntrospection 21 + python pythonPackages.pygobject3 gtk3 libtool automake autoconf ]; 18 22 19 23 postFixup = '' 20 24 substituteInPlace $out/share/ibus/component/anthy.xml --replace \$\{exec_prefix\} $out ··· 25 29 done 26 30 ''; 27 31 28 - src = fetchurl { 29 - url = "https://github.com/ibus/ibus-anthy/releases/download/${version}/${name}.tar.gz"; 30 - sha256 = "00sjrfhghrgkqm72mf39f8sz6wr4fwvvs9mn2alaldhgr5v0c861"; 32 + src = fetchFromGitHub { 33 + owner = "ibus"; 34 + repo = "ibus-anthy"; 35 + rev = version; 36 + sha256 = "1laxwpnhgihv4dz5cgcz6d0a0880r93n7039ciz1m53hdzapwi4a"; 31 37 }; 32 38 }