summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-02-26 17:30:59 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-02-26 18:08:48 -0600
commitf7f965baaa65c35858a9ab2e65b74dc1d6f2617a (patch)
treea74010dd329dd0ee4759cc4fbd403a961373c968 /pkgs/tools/inputmethods
parent6c85f72a915ef8579e8efb5f7520bd3f25d20c4f (diff)
downloadnixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar.gz
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar.bz2
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar.lz
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar.xz
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.tar.zst
nixpkgs-f7f965baaa65c35858a9ab2e65b74dc1d6f2617a.zip
ibus-hangul: download release from GitHub
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix22
1 files changed, 9 insertions, 13 deletions
diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix
index b682196d5d0..ffffeefa9b6 100644
--- a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix
+++ b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix
@@ -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 \