mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
76 lines
1.3 KiB
Nix
76 lines
1.3 KiB
Nix
{ mkDerivation
|
|
, lib
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
|
|
, anthy
|
|
, hunspell
|
|
, libchewing
|
|
, libpinyin
|
|
, maliit-framework
|
|
, pcre
|
|
, presage
|
|
, qtfeedback
|
|
, qtmultimedia
|
|
, qtquickcontrols2
|
|
, qtgraphicaleffects
|
|
|
|
, cmake
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "maliit-keyboard";
|
|
version = "2.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maliit";
|
|
repo = "keyboard";
|
|
rev = version;
|
|
sha256 = "sha256-XH3sKQuNMLgJi2aV+bnU2cflwkFIw4RYVfxzQiejCT0=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace data/schemas/org.maliit.keyboard.maliit.gschema.xml \
|
|
--replace /usr/share "$out/share"
|
|
'';
|
|
|
|
buildInputs = [
|
|
anthy
|
|
hunspell
|
|
libchewing
|
|
libpinyin
|
|
maliit-framework
|
|
pcre
|
|
presage
|
|
qtfeedback
|
|
qtmultimedia
|
|
qtquickcontrols2
|
|
qtgraphicaleffects
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
postInstall = ''
|
|
glib-compile-schemas "$out"/share/glib-2.0/schemas
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Virtual keyboard";
|
|
mainProgram = "maliit-keyboard";
|
|
homepage = "http://maliit.github.io/";
|
|
license = with licenses; [ lgpl3Only bsd3 cc-by-30 ];
|
|
maintainers = with maintainers; [ samueldr ];
|
|
};
|
|
}
|