openbangla-keyboard: fix IME support, remove original attribute

+13 -4
+8 -2
pkgs/applications/misc/openbangla-keyboard/default.nix
··· 11 11 , ibus 12 12 , qtbase 13 13 , zstd 14 + , withFcitx5Support ? false 15 + , withIbusSupport ? false 14 16 }: 15 17 16 18 stdenv.mkDerivation rec { ··· 36 38 wrapQtAppsHook 37 39 ]; 38 40 39 - buildInputs = [ 41 + buildInputs = lib.optionals withFcitx5Support [ 40 42 fcitx5 43 + ] ++ lib.optionals withIbusSupport [ 41 44 ibus 45 + ] ++ [ 42 46 qtbase 43 47 zstd 44 48 ]; ··· 52 56 hash = "sha256-XMleyP2h1aBhtjXhuGHyU0BN+tuL12CGoj+kLY5uye0="; 53 57 }; 54 58 55 - cmakeFlags = [ 59 + cmakeFlags = lib.optionals withFcitx5Support [ 56 60 "-DENABLE_FCITX=YES" 61 + ] ++ lib.optionals withIbusSupport [ 57 62 "-DENABLE_IBUS=YES" 58 63 ]; 59 64 ··· 69 74 ''; 70 75 71 76 meta = { 77 + isIbusEngine = withIbusSupport; 72 78 description = "An OpenSource, Unicode compliant Bengali Input Method"; 73 79 homepage = "https://openbangla.github.io/"; 74 80 license = lib.licenses.gpl3Plus;
+1
pkgs/top-level/aliases.nix
··· 595 595 opa = throw "opa has been removed from nixpkgs as upstream has abandoned the project"; # Added 2023-03-21 596 596 opam_1_2 = throw "'opam_1_2' has been renamed to/replaced by 'opam'"; # Added 2023-03-08 597 597 openafs_1_8 = openafs; # Added 2022-08-22 598 + openbangla-keyboard = throw "openbangla-keyboard has been replaced by ibus-engines.openbangla-keyboard and fcitx5-openbangla-keyboard"; # added 2023-10-10 598 599 opencascade = throw "'opencascade' has been removed as it is unmaintained; consider opencascade-occt instead'"; # Added 2023-09-18 599 600 openconnect_head = openconnect_unstable; # Added 2022-03-29 600 601 openconnect_gnutls = openconnect; # Added 2022-03-29
+4 -2
pkgs/top-level/all-packages.nix
··· 7041 7041 protobuf = pkgs.protobuf3_21.overrideDerivation (_: { stdenv = clangStdenv; }); 7042 7042 }; 7043 7043 7044 + openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withIbusSupport = true; }; 7045 + 7044 7046 rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { }; 7045 7047 7046 7048 table = callPackage ../tools/inputmethods/ibus-engines/ibus-table { }; ··· 8098 8100 fcitx5-lua = callPackage ../tools/inputmethods/fcitx5/fcitx5-lua.nix { lua = lua5_3; }; 8099 8101 8100 8102 fcitx5-m17n = callPackage ../tools/inputmethods/fcitx5/fcitx5-m17n.nix { }; 8103 + 8104 + fcitx5-openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { withFcitx5Support = true; }; 8101 8105 8102 8106 fcitx5-gtk = callPackage ../tools/inputmethods/fcitx5/fcitx5-gtk.nix { }; 8103 8107 ··· 11529 11533 11530 11534 openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { jre = pkgs.jre_headless; }; 11531 11535 openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { jre = pkgs.jre_headless; }; 11532 - 11533 - openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard { }; 11534 11536 11535 11537 openboard = libsForQt5.callPackage ../applications/graphics/openboard { }; 11536 11538