forked from mirrors/nixpkgs
33 lines
870 B
Nix
33 lines
870 B
Nix
|
{ stdenv, fetchFromGitHub, ibus, m17n_lib, m17n_db, automake, autoconf,
|
||
|
gettext, libtool, pkgconfig, python, pythonPackages }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "ibus-m17n-${version}";
|
||
|
version = "1.3.4";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "ibus";
|
||
|
repo = "ibus-m17n";
|
||
|
rev = version;
|
||
|
sha256 = "1n0bvgc4jyksgvzrw5zs2pxcpxcn3gcc0j2kasbznm34fpv3frsr";
|
||
|
};
|
||
|
|
||
|
buildInputs = [
|
||
|
ibus m17n_lib m17n_db automake autoconf gettext
|
||
|
libtool pkgconfig python pythonPackages.pygobject3
|
||
|
];
|
||
|
|
||
|
preConfigure = ''
|
||
|
autoreconf --verbose --force --install
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
isIbusEngine = true;
|
||
|
description = "m17n engine for ibus.";
|
||
|
homepage = https://github.com.com/ibus/ibus-m17n;
|
||
|
license = licenses.gpl2;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = with maintainers; [ ericsagnes ];
|
||
|
};
|
||
|
}
|