summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/ibus-engines
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-10-02 13:34:12 +0200
committerGitHub <noreply@github.com>2016-10-02 13:34:12 +0200
commitc81c652940ba18e80ea3215c91f9f8d1a31c34fa (patch)
tree72ac0260441c9c0cb8d3bfa137741160a5a24b61 /pkgs/tools/inputmethods/ibus-engines
parent102f3c5f4716e205814aaa01674416e99f908a11 (diff)
parent084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7 (diff)
downloadnixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar.gz
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar.bz2
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar.lz
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar.xz
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.tar.zst
nixpkgs-c81c652940ba18e80ea3215c91f9f8d1a31c34fa.zip
Merge pull request #19116 from ericsagnes/pkg-update/ibus-table
ibus-table: 1.9.11 -> 1.9.14
Diffstat (limited to 'pkgs/tools/inputmethods/ibus-engines')
-rw-r--r--pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix
index b44bea9119a..c5090e5b949 100644
--- a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix
+++ b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix
@@ -1,13 +1,17 @@
-{ stdenv, fetchurl, pkgconfig
-, gtk3, dconf, gobjectIntrospection, ibus, python3, pygobject3 }:
+{ stdenv, fetchFromGitHub
+, autoreconfHook, docbook2x, pkgconfig
+, gtk3, dconf, gobjectIntrospection
+, ibus, python3, pygobject3 }:
 
 stdenv.mkDerivation rec {
   name = "ibus-table-${version}";
-  version = "1.9.11";
+  version = "1.9.14";
 
-  src = fetchurl {
-    url = "https://github.com/kaio/ibus-table/releases/download/${version}/${name}.tar.gz";
-    sha256 = "14sb89z1inbbhcrbsm5nww8la04ncy2lk32mxfqpi4ghl22ixxqd";
+  src = fetchFromGitHub {
+    owner  = "kaio";
+    repo   = "ibus-table";
+    rev    = version;
+    sha256 = "1mkx03iqrq5yq57y7hjqcmxfh41dsjykyyl70d41dflcgp5q2nhw";
   };
 
   postPatch = ''
@@ -28,7 +32,12 @@ stdenv.mkDerivation rec {
     dconf gtk3 gobjectIntrospection ibus python3 pygobject3
   ];
 
-  nativeBuildInputs = [ pkgconfig ];
+  nativeBuildInputs = [ autoreconfHook docbook2x pkgconfig ];
+
+  postUnpack = ''
+    substituteInPlace $sourceRoot/engine/Makefile.am \
+      --replace "docbook2man" "docbook2man --sgml"
+  '';
 
   meta = with stdenv.lib; {
     isIbusEngine = true;