aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix b/nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
new file mode 100644
index 00000000000..b74378f0793
--- /dev/null
+++ b/nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, ibus, ibus-table, pkgconfig, python3 }:
+
+stdenv.mkDerivation rec {
+ pname = "ibus-table-others";
+ version = "1.3.11";
+
+ src = fetchurl {
+ url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
+ sha256 = "0763wnlklcs3d8fk21nkp7dgn4qzqgxh1s24q3kl8gzgng2a88jj";
+ };
+
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ ibus ibus-table python3 ];
+
+ preBuild = ''
+ export HOME=$(mktemp -d)/ibus-table-others
+ '';
+
+ postFixup = ''
+ rm -rf $HOME
+ '';
+
+ meta = with stdenv.lib; {
+ isIbusEngine = true;
+ description = "Various table-based input methods for IBus";
+ homepage = "https://github.com/moebiuscurve/ibus-table-others";
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ mudri ];
+ };
+}