mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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,
|
||||
intltool, pkgconfig, pythonPackages, makeWrapper, gtk3, python }:
|
||||
{ stdenv, fetchurl, makeWrapper
|
||||
, intltool, pkgconfig
|
||||
, gtk3, ibus, libhangul, librsvg, python3, pygobject3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ibus-hangul-${version}";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "choehwanjin";
|
||||
repo = "ibus-hangul";
|
||||
rev = version;
|
||||
sha256 = "12l2spr32biqdbz01bzkamgq5gskbi6cd7ai343wqyy1ibjlkmp8";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/choehwanjin/ibus-hangul/releases/download/${version}/${name}.tar.gz";
|
||||
sha256 = null;
|
||||
};
|
||||
|
||||
buildInputs = [ ibus libhangul autoconf gettext automake libtool
|
||||
intltool pkgconfig python pythonPackages.pygobject3 gtk3 makeWrapper ];
|
||||
buildInputs = [ gtk3 ibus libhangul python3 pygobject3 ];
|
||||
|
||||
preConfigure = ''
|
||||
autoreconf --verbose --force --install
|
||||
intltoolize --automake --force --copy
|
||||
'';
|
||||
nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/ibus-setup-hangul \
|
||||
|
@ -1173,7 +1173,9 @@ let
|
||||
|
||||
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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user