summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-10-01 12:37:45 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-10-01 12:40:02 +0900
commit084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7 (patch)
tree8e7a2813b568505149056b987c8fa7c35fbd9ca1 /pkgs/tools/inputmethods
parent1bd4c08606475f2ed2ee76dbee7bc996e87e6804 (diff)
downloadnixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar.gz
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar.bz2
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar.lz
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar.xz
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.tar.zst
nixlib-084bacd8d9b41d08d2ac6bba627d26e4fc02c8c7.zip
ibus-table: 1.9.11 -> 1.9.14
release notes:
- https://github.com/kaio/ibus-table/releases/tag/1.9.12
- https://github.com/kaio/ibus-table/releases/tag/1.9.13
- https://github.com/kaio/ibus-table/releases/tag/1.9.14
Diffstat (limited to 'pkgs/tools/inputmethods')
-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 b44bea9119a2..c5090e5b949b 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;