depot/third_party/nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
804 B
Nix

{ lib, stdenv, fetchurl, ibus, ibus-table, pkg-config, python3 }:
stdenv.mkDerivation rec {
pname = "ibus-table-others";
version = "1.3.17";
src = fetchurl {
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
hash = "sha256-7//axHjQ1LgLpeWR4MTI8efLURm4Umj4JV3G33Y0m0g=";
};
nativeBuildInputs = [ pkg-config python3 ];
buildInputs = [ ibus ibus-table ];
preBuild = ''
export HOME=$TMPDIR
'';
meta = with 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 McSinyx ];
};
}