Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 ibus, 7 gtk3, 8 libthai, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "ibus-libthai"; 13 version = "0.1.5"; 14 15 src = fetchurl { 16 url = "https://linux.thai.net/pub/ThaiLinux/software/libthai/ibus-libthai-${version}.tar.xz"; 17 sha256 = "sha256-egAxttjwuKiDoIuJluoOTJdotFZJe6ZOmJgdiFCAwx0="; 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 22 buildInputs = [ 23 gtk3 24 ibus 25 libthai 26 ]; 27 28 meta = with lib; { 29 isIbusEngine = true; 30 homepage = "https://linux.thai.net/projects/ibus-libthai"; 31 description = "Thai input method engine for IBus"; 32 license = licenses.lgpl21Plus; 33 platforms = platforms.unix; 34 maintainers = [ ]; 35 }; 36}