openbangla-keyboard: migrate to by-name, preserve overrides

This commit is contained in:
Guy Chronister
2026-04-16 11:10:01 -05:00
parent 7730a67fc1
commit eb5dfc7b48
3 changed files with 7 additions and 9 deletions
@@ -7,19 +7,21 @@
pkg-config,
rustPlatform,
rustc,
wrapQtAppsHook,
fcitx5,
ibus,
qtbase,
libsForQt5,
zstd,
withFcitx5Support ? false,
withIbusSupport ? false,
withIbusSupport ? true,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "openbangla-keyboard";
version = "2.0.0-unstable-2025-08-19";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "openbangla";
repo = "openbangla-keyboard";
@@ -34,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
cargo
rustc
rustPlatform.cargoSetupHook
wrapQtAppsHook
libsForQt5.wrapQtAppsHook
];
buildInputs =
@@ -45,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
ibus
]
++ [
qtbase
libsForQt5.qtbase
zstd
];
-4
View File
@@ -2042,10 +2042,6 @@ with pkgs;
mozc = mozc.override { withIbus = true; };
mozc-ut = mozc-ut.override { withIbus = true; };
openbangla-keyboard = libsForQt5.callPackage ../applications/misc/openbangla-keyboard {
withIbusSupport = true;
};
pinyin = callPackage ../tools/inputmethods/ibus-engines/ibus-pinyin { };
rime = callPackage ../tools/inputmethods/ibus-engines/ibus-rime { };