forked from mirrors/nixpkgs
b651d55dc3
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.3.9 with grep in /nix/store/xjlb70932y0prqlw4p7iizbffm89pi7a-ibus-table-others-1.3.9 - directory tree listing: https://gist.github.com/aafa62fbd6afde2d7ca2d96e39eaa850
32 lines
858 B
Nix
32 lines
858 B
Nix
{ stdenv, fetchurl, ibus, ibus-table, pkgconfig, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ibus-table-others-${version}";
|
|
version = "1.3.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${name}.tar.gz";
|
|
sha256 = "0270a9njyzb1f8nw5w9ghwxcl3m6f13d8p8a01fjm8rnjs04mcb3";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|