1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix

32 lines
862 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, ibus, ibus-table, pkg-config, python3 }:
stdenv.mkDerivation rec {
pname = "ibus-table-others";
version = "1.3.12";
src = fetchurl {
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-2k7JtLr+zO71rbTz11CCiIPx+orn0dw/Y8m47WfRDEU=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ibus ibus-table python3 ];
preBuild = ''
export HOME=$(mktemp -d)/ibus-table-others
'';
postFixup = ''
rm -rf $HOME
'';
meta = with lib; {
2016-02-10 07:10:35 +00:00
isIbusEngine = true;
description = "Various table-based input methods for IBus";
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 ];
};
}