3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix

35 lines
817 B
Nix
Raw Normal View History

2016-02-28 13:10:11 +00:00
{ stdenv, fetchFromGitHub
2016-08-24 21:03:09 +01:00
, autoreconfHook, pkgconfig
, ibus, m17n_lib, m17n_db, gettext, python3
2016-02-28 13:10:11 +00:00
}:
2016-02-20 01:49:35 +00:00
stdenv.mkDerivation rec {
name = "ibus-m17n-${version}";
version = "1.4.1";
2016-02-20 01:49:35 +00:00
src = fetchFromGitHub {
owner = "ibus";
repo = "ibus-m17n";
rev = version;
sha256 = "1xl7swqn46nhi43rka0zx666mpk667ykag3sz07x0zqrwi41frps";
2016-02-20 01:49:35 +00:00
};
2016-02-28 13:10:11 +00:00
buildInputs = [
ibus m17n_lib m17n_db gettext
python3
2016-02-20 01:49:35 +00:00
];
nativeBuildInputs = [ autoreconfHook pkgconfig python3.pkgs.wrapPython ];
postFixup = "wrapPythonPrograms";
2016-02-20 01:49:35 +00:00
meta = with stdenv.lib; {
isIbusEngine = true;
description = "m17n engine for ibus";
homepage = https://github.com/ibus/ibus-m17n;
2016-02-20 01:49:35 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
};
}