2015-06-22 15:24:27 +01:00
|
|
|
{ stdenv, fetchurl, ibus, ibus-table, pkgconfig, python3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ibus-table-others-${version}";
|
|
|
|
version = "1.3.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0vmz82il796062jbla5pawsr5dqyhs7ald7xjp84zfccc09dg9kx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ibus ibus-table pkgconfig python3 ];
|
|
|
|
|
|
|
|
preBuild = ''
|
2016-02-24 01:16:29 +00:00
|
|
|
export HOME=$(mktemp -d)/ibus-table-others
|
2015-06-22 15:24:27 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
2016-02-24 01:16:29 +00:00
|
|
|
rm -rf $HOME
|
2015-06-22 15:24:27 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-10 07:10:35 +00:00
|
|
|
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 ];
|
2015-06-22 15:24:27 +01:00
|
|
|
};
|
|
|
|
}
|