2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, ibus, ibus-table, pkg-config, python3 }:
|
2015-06-22 15:24:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ibus-table-others";
|
2021-07-21 03:49:01 +01:00
|
|
|
version = "1.3.12";
|
2015-06-22 15:24:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
|
2021-07-21 03:49:01 +01:00
|
|
|
sha256 = "sha256-2k7JtLr+zO71rbTz11CCiIPx+orn0dw/Y8m47WfRDEU=";
|
2015-06-22 15:24:27 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ ibus ibus-table python3 ];
|
2015-06-22 15:24:27 +01:00
|
|
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-02-10 07:10:35 +00:00
|
|
|
isIbusEngine = true;
|
|
|
|
description = "Various table-based input methods for IBus";
|
2020-01-11 15:17:01 +00:00
|
|
|
homepage = "https://github.com/moebiuscurve/ibus-table-others";
|
2016-02-10 07:10:35 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mudri ];
|
2015-06-22 15:24:27 +01:00
|
|
|
};
|
|
|
|
}
|