3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-libpinyin/default.nix

34 lines
858 B
Nix
Raw Normal View History

2016-10-01 02:33:10 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook
, intltool, pkgconfig, sqlite, libpinyin, db
, ibus, glib, gtk3, python3
2016-03-26 17:12:16 +00:00
}:
stdenv.mkDerivation rec {
pname = "ibus-libpinyin";
version = "1.10.0";
2016-10-01 02:33:10 +01:00
src = fetchFromGitHub {
owner = "libpinyin";
repo = "ibus-libpinyin";
rev = version;
sha256 = "0zkzz6ig74nws8phqxbsggnpf5g5f2hxi0mdyn2m3s4nm14q3ma6";
2016-10-01 02:33:10 +01:00
};
buildInputs = [ ibus glib sqlite libpinyin python3 gtk3 db ];
nativeBuildInputs = [ autoreconfHook intltool pkgconfig python3.pkgs.wrapPython ];
2016-10-01 02:33:10 +01:00
postAutoreconf = ''
intltoolize
'';
2016-03-26 17:12:16 +00:00
postFixup = "wrapPythonPrograms";
2016-03-26 17:12:16 +00:00
meta = with stdenv.lib; {
isIbusEngine = true;
description = "IBus interface to the libpinyin input method";
license = licenses.gpl2;
2016-10-01 02:33:10 +01:00
maintainers = with maintainers; [ ericsagnes ];
2016-03-26 17:12:16 +00:00
platforms = platforms.linux;
};
}