Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 57 lines 944 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 ibus, 8 gtk3, 9 m17n_lib, 10 m17n_db, 11 gettext, 12 python3, 13 wrapGAppsHook3, 14}: 15 16stdenv.mkDerivation rec { 17 pname = "ibus-m17n"; 18 version = "1.4.36"; 19 20 src = fetchFromGitHub { 21 owner = "ibus"; 22 repo = "ibus-m17n"; 23 rev = version; 24 sha256 = "sha256-K7grmYROFRwdmYWiWNRv8TnEUpOie1W8Glx9BP6Orzc="; 25 }; 26 27 nativeBuildInputs = [ 28 autoreconfHook 29 gettext 30 pkg-config 31 wrapGAppsHook3 32 ]; 33 34 buildInputs = [ 35 ibus 36 gtk3 37 m17n_lib 38 m17n_db 39 (python3.withPackages (ps: [ 40 ps.pygobject3 41 (ps.toPythonModule ibus) 42 ])) 43 ]; 44 45 configureFlags = [ 46 "--with-gtk=3.0" 47 ]; 48 49 meta = with lib; { 50 isIbusEngine = true; 51 description = "m17n engine for ibus"; 52 homepage = "https://github.com/ibus/ibus-m17n"; 53 license = licenses.gpl2Plus; 54 platforms = platforms.linux; 55 maintainers = with maintainers; [ ]; 56 }; 57}