2016-02-28 15:30:09 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig
|
2018-07-21 01:44:44 +01:00
|
|
|
, gtk3, ibus, libhangul, python3
|
2016-02-26 23:30:59 +00:00
|
|
|
}:
|
2016-02-10 04:34:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ibus-hangul";
|
2018-08-13 13:28:06 +01:00
|
|
|
version = "1.5.1";
|
2016-02-10 04:34:17 +00:00
|
|
|
|
2016-02-26 23:30:59 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/choehwanjin/ibus-hangul/releases/download/${version}/${pname}-${version}.tar.gz";
|
2018-08-13 13:28:06 +01:00
|
|
|
sha256 = "0gha8dfdf54rx8fv3yfikbgdg6lqq6l883lhg7q68ybvkjx9bwbs";
|
2016-02-10 04:34:17 +00:00
|
|
|
};
|
|
|
|
|
2017-09-27 11:29:11 +01:00
|
|
|
buildInputs = [ gtk3 ibus libhangul python3 ];
|
2016-02-10 04:34:17 +00:00
|
|
|
|
2017-03-25 20:53:14 +00:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ];
|
|
|
|
|
|
|
|
postFixup = "wrapPythonPrograms";
|
2016-02-10 04:34:17 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-10 07:10:35 +00:00
|
|
|
isIbusEngine = true;
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "Ibus Hangul engine";
|
2016-02-10 07:10:35 +00:00
|
|
|
homepage = https://github.com/choehwanjin/ibus-hangul;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ericsagnes ];
|
2016-02-10 04:34:17 +00:00
|
|
|
};
|
|
|
|
}
|