2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, ibus, ibus-table, pkg-config, python3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ibus-table-others";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.3.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-nOj5gwhFodZv29hAN6S8EhQ+XlWp31FDOGIXtyAOM1E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ ibus ibus-table python3 ];
|
|
|
|
|
|
|
|
preBuild = ''
|
2022-04-27 09:35:20 +00:00
|
|
|
export HOME=$TMPDIR
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|