3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/inputmethods/ibus-engines/ibus-m17n/default.nix
Jan Tojnar 6bc71fb30e
ibus-engines.m17n: fix setup
* add setup again
* patch shebangs instead of wrapping
* format the expression
2019-12-07 00:51:29 +01:00

56 lines
932 B
Nix

{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, ibus
, gtk3
, m17n_lib
, m17n_db
, gettext
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "ibus-m17n";
version = "1.4.1";
src = fetchFromGitHub {
owner = "ibus";
repo = "ibus-m17n";
rev = version;
sha256 = "1xl7swqn46nhi43rka0zx666mpk667ykag3sz07x0zqrwi41frps";
};
nativeBuildInputs = [
autoreconfHook
gettext
pkgconfig
wrapGAppsHook
];
buildInputs = [
ibus
gtk3
m17n_lib
m17n_db
(python3.withPackages (ps: [
ps.pygobject3
(ps.toPythonModule ibus)
]))
];
configureFlags = [
"--with-gtk=3.0"
];
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 ];
};
}