b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
55 lines
938 B
Nix
55 lines
938 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, ibus
|
|
, gtk3
|
|
, m17n_lib
|
|
, m17n_db
|
|
, gettext
|
|
, python3
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ibus-m17n";
|
|
version = "1.4.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ibus";
|
|
repo = "ibus-m17n";
|
|
rev = version;
|
|
sha256 = "sha256-OYWEYi2KVzGR+DS1cWMJFexuEwBQfqC+T3cVJF+glXg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
gettext
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
ibus
|
|
gtk3
|
|
m17n_lib
|
|
m17n_db
|
|
(python3.withPackages (ps: [
|
|
ps.pygobject3
|
|
(ps.toPythonModule ibus)
|
|
]))
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-gtk=3.0"
|
|
];
|
|
|
|
meta = with lib; {
|
|
isIbusEngine = true;
|
|
description = "m17n engine for ibus";
|
|
homepage = "https://github.com/ibus/ibus-m17n";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ericsagnes ];
|
|
};
|
|
}
|