ibus-hangul: download release from GitHub
This commit is contained in:
parent
6c85f72a91
commit
f7f965baaa
@ -1,24 +1,20 @@
|
|||||||
{ stdenv, gnome, fetchFromGitHub, ibus, libhangul, autoconf, automake, gettext, libtool, librsvg,
|
{ stdenv, fetchurl, makeWrapper
|
||||||
intltool, pkgconfig, pythonPackages, makeWrapper, gtk3, python }:
|
, intltool, pkgconfig
|
||||||
|
, gtk3, ibus, libhangul, librsvg, python3, pygobject3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ibus-hangul-${version}";
|
name = "ibus-hangul-${version}";
|
||||||
version = "1.5.0";
|
version = "1.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "choehwanjin";
|
url = "https://github.com/choehwanjin/ibus-hangul/releases/download/${version}/${name}.tar.gz";
|
||||||
repo = "ibus-hangul";
|
sha256 = null;
|
||||||
rev = version;
|
|
||||||
sha256 = "12l2spr32biqdbz01bzkamgq5gskbi6cd7ai343wqyy1ibjlkmp8";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ibus libhangul autoconf gettext automake libtool
|
buildInputs = [ gtk3 ibus libhangul python3 pygobject3 ];
|
||||||
intltool pkgconfig python pythonPackages.pygobject3 gtk3 makeWrapper ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
|
||||||
autoreconf --verbose --force --install
|
|
||||||
intltoolize --automake --force --copy
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/ibus-setup-hangul \
|
wrapProgram $out/bin/ibus-setup-hangul \
|
||||||
|
@ -1173,7 +1173,9 @@ let
|
|||||||
|
|
||||||
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
|
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
|
||||||
|
|
||||||
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
|
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul {
|
||||||
|
inherit (python3Packages) pygobject3;
|
||||||
|
};
|
||||||
|
|
||||||
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n { };
|
m17n = callPackage ../tools/inputmethods/ibus-engines/ibus-m17n { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user