1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
2016-02-17 20:44:29 +09:00

31 lines
840 B
Nix

{ 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 = ''
export HOME=/tmp/ibus-table-others
'';
postFixup = ''
rm -rf /tmp/ibus-table-others
'';
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 ];
};
}