Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ibus, 6 ibus-table, 7 pkg-config, 8 python3, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "ibus-table-others"; 13 version = "1.3.21"; 14 15 src = fetchurl { 16 url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz"; 17 hash = "sha256-/3ZDQCc/u2HKlL0+kZ0g4Gbjrkk++l3lSrWQz7CvwaQ="; 18 }; 19 20 nativeBuildInputs = [ 21 pkg-config 22 python3 23 ]; 24 buildInputs = [ 25 ibus 26 ibus-table 27 ]; 28 29 preBuild = '' 30 export HOME=$TMPDIR 31 ''; 32 33 meta = with lib; { 34 isIbusEngine = true; 35 description = "Various table-based input methods for IBus"; 36 homepage = "https://github.com/moebiuscurve/ibus-table-others"; 37 license = licenses.gpl3; 38 platforms = platforms.linux; 39 maintainers = with maintainers; [ 40 mudri 41 McSinyx 42 ]; 43 }; 44}