openbangla-keyboard: migrate to by-name, preserve overrides
This commit is contained in:
+7
-5
@@ -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
|
||||
];
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user