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

56 lines
932 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, ibus
, gtk3
, m17n_lib
, m17n_db
, gettext
, python3
, wrapGAppsHook
2016-02-28 13:10:11 +00:00
}:
2016-02-20 01:49:35 +00:00
stdenv.mkDerivation rec {
pname = "ibus-m17n";
2020-01-27 03:16:43 +00:00
version = "1.4.2";
2016-02-20 01:49:35 +00:00
src = fetchFromGitHub {
owner = "ibus";
repo = "ibus-m17n";
rev = version;
2020-01-27 03:16:43 +00:00
sha256 = "16davz397svhjb234kx7mnq2m3wdxi2fh1ryniphbczjpbwn23g6";
2016-02-20 01:49:35 +00:00
};
nativeBuildInputs = [
autoreconfHook
gettext
pkgconfig
wrapGAppsHook
2016-02-20 01:49:35 +00:00
];
buildInputs = [
ibus
gtk3
m17n_lib
m17n_db
(python3.withPackages (ps: [
ps.pygobject3
(ps.toPythonModule ibus)
]))
];
configureFlags = [
"--with-gtk=3.0"
];
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;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ericsagnes ];
2016-02-20 01:49:35 +00:00
};
}