push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchurl,
gettext,
pkg-config,
wrapGAppsHook3,
anthy,
ibus,
glib,
gobject-introspection,
gtk3,
python3,
}:
stdenv.mkDerivation rec {
pname = "ibus-anthy";
version = "1.5.17";
src = fetchurl {
url = "https://github.com/ibus/ibus-anthy/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-nh0orX2ivl4NnA6w2Pt1V/yJdwqiI3Jy3r4Ze9YavUA=";
};
buildInputs = [
anthy
glib
gtk3
ibus
(python3.withPackages (ps: [
ps.pygobject3
(ps.toPythonModule ibus)
]))
];
nativeBuildInputs = [
gettext
gobject-introspection
pkg-config
wrapGAppsHook3
];
configureFlags = [
"--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t"
];
postFixup = ''
substituteInPlace $out/share/ibus/component/anthy.xml --replace \$\{exec_prefix\} $out
'';
meta = with lib; {
isIbusEngine = true;
description = "IBus interface to the anthy input method";
homepage = "https://github.com/fujiwarat/ibus-anthy";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,49 @@
{
lib,
stdenv,
fetchFromGitHub,
xorg,
pkg-config,
wrapGAppsHook3,
go,
}:
stdenv.mkDerivation rec {
pname = "ibus-bamboo";
version = "0.8.4-rc6";
src = fetchFromGitHub {
owner = "BambooEngine";
repo = pname;
rev = "v" + lib.toUpper version;
sha256 = "sha256-8eBrgUlzrfQkgzr0/Nz/0FQ98UBdV0GQcZhJVbmyOg0=";
};
nativeBuildInputs = [
pkg-config
wrapGAppsHook3
go
];
buildInputs = [
xorg.libXtst
];
preConfigure = ''
export GOCACHE="$TMPDIR/go-cache"
sed -i "s,/usr,$out," data/bamboo.xml
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
isIbusEngine = true;
description = "Vietnamese IME for IBus";
homepage = "https://github.com/BambooEngine/ibus-bamboo";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ astronaut0212 ];
};
}

View File

@@ -0,0 +1,77 @@
{
stdenv,
lib,
fetchFromGitHub,
gettext,
pkg-config,
wrapGAppsHook3,
ibus,
glib,
gobject-introspection,
gtk3,
python3,
autoreconfHook,
intltool,
}:
let
pythonModules = with python3.pkgs; [
pygobject3
pycangjie
(toPythonModule ibus)
];
# Upstream builds Python packages as a part of a non-python
# autotools build, making it awkward to rely on Nixpkgs Python builders.
# Hence we manually set up PYTHONPATH.
pythonPath = "$out/${python3.sitePackages}" + ":" + python3.pkgs.makePythonPath pythonModules;
in
stdenv.mkDerivation {
pname = "ibus-cangjie";
version = "unstable-2023-07-25";
src = fetchFromGitHub {
owner = "Cangjians";
repo = "ibus-cangjie";
rev = "46c36f578047bb3cb2ce777217abf528649bc58d";
sha256 = "sha256-msVqWougc40bVXIonJA6K/VgurnDeR2TdtGKfd9rzwM=";
};
buildInputs = [
glib
gtk3
ibus
python3
]
++ pythonModules;
nativeBuildInputs = [
autoreconfHook
intltool
gettext
gobject-introspection
pkg-config
wrapGAppsHook3
];
# Upstream builds Python packages as a part of a non-python
# autotools build, making it awkward to rely on Nixpkgs Python builders.
postInstall = ''
gappsWrapperArgs+=(--prefix PYTHONPATH : "${pythonPath}")
'';
postFixup = ''
wrapGApp $out/lib/ibus-cangjie/ibus-engine-cangjie
'';
meta = {
isIbusEngine = true;
description = "IBus engine for users of the Cangjie and Quick input methods";
mainProgram = "ibus-setup-cangjie";
homepage = "https://github.com/Cangjians/ibus-cangjie";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,51 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
wrapGAppsHook4,
glib,
gtk4,
ibus,
libadwaita,
libchewing,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ibus-chewing";
version = "2.1.7";
src = fetchFromGitHub {
owner = "chewing";
repo = "ibus-chewing";
tag = "v${finalAttrs.version}";
hash = "sha256-3lNzQHuWFreIf4M6z4St5ZfOwjAJOMBLwzOI8KTCTEw=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
ibus
libadwaita
libchewing
];
enableParallelBuilding = true;
meta = {
isIbusEngine = true;
description = "Chewing engine for IBus";
homepage = "https://github.com/chewing/ibus-chewing";
changelog = "https://github.com/chewing/ibus-chewing/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ShamrockLee ];
platforms = lib.platforms.linux;
};
})

View File

@@ -0,0 +1,65 @@
{
lib,
stdenv,
fetchFromGitHub,
replaceVars,
appstream-glib,
gettext,
pkg-config,
wrapGAppsHook3,
gobject-introspection,
autoreconfHook,
gtk3,
ibus,
libhangul,
python3,
}:
stdenv.mkDerivation rec {
pname = "ibus-hangul";
version = "1.5.5";
src = fetchFromGitHub {
owner = "libhangul";
repo = "ibus-hangul";
rev = version;
hash = "sha256-x2oOW8eiEuwmdCGUo+r/KcsitfGccSyianwIEaOBS3M=";
};
patches = [
(replaceVars ./fix-paths.patch {
libhangul = "${libhangul}/lib/libhangul.so.1";
})
];
nativeBuildInputs = [
appstream-glib
gettext
pkg-config
wrapGAppsHook3
gobject-introspection.setupHook
autoreconfHook
];
buildInputs = [
gtk3
ibus
libhangul
(python3.withPackages (
pypkgs: with pypkgs; [
pygobject3
(toPythonModule ibus)
]
))
];
meta = with lib; {
isIbusEngine = true;
description = "Ibus Hangul engine";
mainProgram = "ibus-setup-hangul";
homepage = "https://github.com/libhangul/ibus-hangul";
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,13 @@
diff --git a/setup/main.py b/setup/main.py
index 8d581cd..2ac47b9 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -37,7 +37,7 @@
def get_hangul_keyboard_list():
from ctypes import CDLL, c_int, c_char_p
- libhangul = CDLL('libhangul.so.1')
+ libhangul = CDLL('@libhangul@')
libhangul.hangul_ic_get_n_keyboards.argtypes = []
libhangul.hangul_ic_get_n_keyboards.restype = c_int
libhangul.hangul_ic_get_keyboard_id.argtypes = [c_int]

View File

@@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchurl,
vala,
intltool,
pkg-config,
libkkc,
ibus,
skkDictionaries,
gtk3,
}:
stdenv.mkDerivation rec {
pname = "ibus-kkc";
version = "1.5.22";
src = fetchurl {
url = "${meta.homepage}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1kj74c9zy9yxkjx7pz96mzqc13cf10yfmlgprr8sfd4ay192bzi2";
};
nativeBuildInputs = [
vala
intltool
pkg-config
];
buildInputs = [
libkkc
ibus
gtk3
];
postInstall = ''
ln -s ${skkDictionaries.l}/share/skk $out/share/skk
'';
meta = with lib; {
isIbusEngine = true;
description = "Libkkc (Japanese Kana Kanji input method) engine for ibus";
homepage = "https://github.com/ueno/ibus-kkc";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,77 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
gettext,
gobject-introspection,
pkg-config,
wrapGAppsHook3,
sqlite,
libpinyin,
db,
ibus,
glib,
gtk3,
python3,
lua,
opencc,
libsoup_3,
json-glib,
libnotify,
}:
stdenv.mkDerivation rec {
pname = "ibus-libpinyin";
version = "1.16.5";
src = fetchFromGitHub {
owner = "libpinyin";
repo = "ibus-libpinyin";
tag = version;
hash = "sha256-3QZHovjzGifWLFVudCnJOwMn/M3Nzfn8CZ1HpQwzUVw=";
};
nativeBuildInputs = [
autoreconfHook
gettext
gobject-introspection.setupHook
pkg-config
wrapGAppsHook3
];
configureFlags = [
"--enable-cloud-input-mode"
"--enable-opencc"
];
buildInputs = [
ibus
glib
sqlite
libpinyin
(python3.withPackages (
pypkgs: with pypkgs; [
pygobject3
(toPythonModule ibus)
]
))
gtk3
db
lua
opencc
libsoup_3
json-glib
libnotify
];
meta = {
isIbusEngine = true;
description = "IBus interface to the libpinyin input method";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
linsui
];
platforms = lib.platforms.linux;
};
}

View File

@@ -0,0 +1,36 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
ibus,
gtk3,
libthai,
}:
stdenv.mkDerivation rec {
pname = "ibus-libthai";
version = "0.1.5";
src = fetchurl {
url = "https://linux.thai.net/pub/ThaiLinux/software/libthai/ibus-libthai-${version}.tar.xz";
sha256 = "sha256-egAxttjwuKiDoIuJluoOTJdotFZJe6ZOmJgdiFCAwx0=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk3
ibus
libthai
];
meta = with lib; {
isIbusEngine = true;
homepage = "https://linux.thai.net/projects/ibus-libthai";
description = "Thai input method engine for IBus";
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
ibus,
gtk3,
m17n_lib,
m17n_db,
gettext,
python3,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "ibus-m17n";
version = "1.4.36";
src = fetchFromGitHub {
owner = "ibus";
repo = "ibus-m17n";
rev = version;
sha256 = "sha256-K7grmYROFRwdmYWiWNRv8TnEUpOie1W8Glx9BP6Orzc=";
};
nativeBuildInputs = [
autoreconfHook
gettext
pkg-config
wrapGAppsHook3
];
buildInputs = [
ibus
gtk3
m17n_lib
m17n_db
(python3.withPackages (ps: [
ps.pygobject3
(ps.toPythonModule ibus)
]))
];
configureFlags = [
"--with-gtk=3.0"
];
meta = with lib; {
isIbusEngine = true;
description = "m17n engine for ibus";
homepage = "https://github.com/ibus/ibus-m17n";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
intltool,
pkg-config,
python3,
wrapGAppsHook3,
glib,
gtk3,
ibus,
lua,
pyzy,
sqlite,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "ibus-pinyin";
version = "1.5.1";
src = fetchFromGitHub {
owner = "ibus";
repo = "ibus-pinyin";
rev = version;
hash = "sha256-8nM/dEjkNhQNv6Ikv4xtRkS3mALDT6OYC1EAKn1zNtI=";
};
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
python3
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
ibus
lua
pyzy
sqlite
];
passthru.updateScript = nix-update-script { };
meta = {
isIbusEngine = true;
description = "PinYin engine for IBus";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ azuwis ];
platforms = lib.platforms.linux;
};
}

View File

@@ -0,0 +1,65 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
gdk-pixbuf,
glib,
ibus,
libnotify,
librime,
pkg-config,
rime-data,
symlinkJoin,
rimeDataPkgs ? [ rime-data ],
}:
stdenv.mkDerivation rec {
pname = "ibus-rime";
version = "1.5.1";
src = fetchFromGitHub {
owner = "rime";
repo = "ibus-rime";
rev = version;
sha256 = "sha256-6lqPdcIJmwHcr4G6BhIDMhEtEOpOPgWqfkKXqaDjUY0=";
};
buildInputs = [
gdk-pixbuf
glib
ibus
libnotify
librime
];
nativeBuildInputs = [
cmake
pkg-config
];
cmakeFlags = [ "-DRIME_DATA_DIR=${placeholder "out"}/share/rime-data" ];
rimeDataDrv = symlinkJoin {
name = "ibus-rime-data";
paths = rimeDataPkgs;
postBuild = ''
mkdir -p $out/share/rime-data
# Ensure default.yaml exists
[ -e "$out/share/rime-data/default.yaml" ] || touch "$out/share/rime-data/default.yaml"
'';
};
postInstall = ''
cp -r "${rimeDataDrv}/share/rime-data/." $out/share/rime-data/
'';
meta = with lib; {
isIbusEngine = true;
description = "Rime input method engine for IBus";
homepage = "https://rime.im/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pmy ];
};
}

View File

@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
ibus,
ibus-table,
python3,
cmake,
writableTmpDirAsHomeHook,
}:
let
src = fetchFromGitHub {
owner = "mike-fabian";
repo = "ibus-table-chinese";
rev = "3a416012f3b898fe17225925f59d0672a8a0c0db";
sha256 = "sha256-KA4jRSlQ78IeP7od3VtgdR58Z/6psNkMCVwvg3vhFIM=";
};
in
stdenv.mkDerivation {
pname = "ibus-table-chinese";
version = "1.8.12";
inherit src;
postConfigure = ''
substituteInPlace cmake_install.cmake --replace-fail /var/empty $out
substituteInPlace CMakeLists.txt --replace-fail /var/empty $out
'';
# Fails otherwise with "no such file or directory: <table>.txt"
dontUseCmakeBuildDir = true;
nativeBuildInputs = [
cmake
pkg-config
writableTmpDirAsHomeHook
];
buildInputs = [
ibus
ibus-table
python3
];
meta = {
isIbusEngine = true;
description = "Chinese tables for IBus-Table";
homepage = "https://github.com/definite/ibus-table-chinese";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ pneumaticat ];
};
}

View File

@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchurl,
ibus,
ibus-table,
pkg-config,
python3,
}:
stdenv.mkDerivation rec {
pname = "ibus-table-others";
version = "1.3.21";
src = fetchurl {
url = "https://github.com/moebiuscurve/ibus-table-others/releases/download/${version}/${pname}-${version}.tar.gz";
hash = "sha256-/3ZDQCc/u2HKlL0+kZ0g4Gbjrkk++l3lSrWQz7CvwaQ=";
};
nativeBuildInputs = [
pkg-config
python3
];
buildInputs = [
ibus
ibus-table
];
preBuild = ''
export HOME=$TMPDIR
'';
meta = with lib; {
isIbusEngine = true;
description = "Various table-based input methods for IBus";
homepage = "https://github.com/moebiuscurve/ibus-table-others";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [
mudri
McSinyx
];
};
}

View File

@@ -0,0 +1,80 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
docbook2x,
pkg-config,
gtk3,
dconf,
gobject-introspection,
ibus,
python3,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "ibus-table";
version = "1.17.15";
src = fetchFromGitHub {
owner = "kaio";
repo = "ibus-table";
rev = version;
sha256 = "sha256-g3UyGbS/gtUQ54PQ0u7xRfInG+T5dkv4vF79bhXoQdY=";
};
postPatch = ''
# Data paths will be set at run-time.
sed -e "/export IBUS_TABLE_LIB_LOCATION=/ s/^.*$//" \
-e "/export IBUS_TABLE_LOCATION=/ s/^.*$//" \
-i "engine/ibus-engine-table.in"
sed -e "/export IBUS_TABLE_BIN_PATH=/ s/^.*$//" \
-e "/export IBUS_TABLE_DATA_DIR=/ s/^.*$//" \
-i "engine/ibus-table-createdb.in"
sed -e "/export IBUS_PREFIX=/ s/^.*$//" \
-e "/export IBUS_DATAROOTDIR=/ s/^.$//" \
-e "/export IBUS_LOCALEDIR=/ s/^.$//" \
-i "setup/ibus-setup-table.in"
substituteInPlace engine/tabcreatedb.py --replace '/usr/share/ibus-table' $out/share/ibus-table
substituteInPlace engine/ibus_table_location.py \
--replace '/usr/libexec' $out/libexec \
--replace '/usr/share/ibus-table/' $out/share/ibus-table/
'';
buildInputs = [
dconf
gtk3
ibus
(python3.withPackages (
pypkgs: with pypkgs; [
dbus-python
pygobject3
(toPythonModule ibus)
]
))
];
nativeBuildInputs = [
autoreconfHook
docbook2x
pkg-config
gobject-introspection
wrapGAppsHook3
];
postUnpack = ''
substituteInPlace $sourceRoot/engine/Makefile.am \
--replace "docbook2man" "docbook2man --sgml"
'';
meta = with lib; {
isIbusEngine = true;
description = "IBus framework for table-based input methods";
mainProgram = "ibus-table-createdb";
homepage = "https://github.com/kaio/ibus-table/wiki";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ mudri ];
};
}

View File

@@ -0,0 +1,63 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
python3,
ibus,
pkg-config,
gtk3,
m17n_lib,
wrapGAppsHook3,
gobject-introspection,
}:
let
python = python3.withPackages (
ps: with ps; [
pygobject3
dbus-python
]
);
in
stdenv.mkDerivation rec {
pname = "ibus-typing-booster";
version = "2.27.74";
src = fetchFromGitHub {
owner = "mike-fabian";
repo = "ibus-typing-booster";
rev = version;
hash = "sha256-yAa/U1pL7KnJAuxaQkzbtOvdVhIgQiYCMlPnjHmoFEM=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
wrapGAppsHook3
gobject-introspection
];
buildInputs = [
python
ibus
gtk3
m17n_lib
];
preFixup = ''
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${m17n_lib}/lib")
'';
meta = with lib; {
homepage = "https://mike-fabian.github.io/ibus-typing-booster/";
license = licenses.gpl3Plus;
description = "Completion input method for faster typing";
mainProgram = "emoji-picker";
maintainers = [ ];
platforms = platforms.linux;
isIbusEngine = true;
};
}

View File

@@ -0,0 +1,40 @@
{
typing-booster,
symlinkJoin,
hunspellDicts,
lib,
makeWrapper,
langs ? [
"de-de"
"en-gb-ise"
"en-us"
"es-es"
"fr-moderne"
"it-it"
"sv-se"
"sv-fi"
],
}:
let
hunspellDirs = lib.makeSearchPath "share/hunspell" (lib.attrVals langs hunspellDicts);
in
symlinkJoin {
name = "${typing-booster.name}-with-hunspell";
paths = [ typing-booster ];
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
for i in bin/emoji-picker libexec/ibus-{setup,engine}-typing-booster; do
wrapProgram "$out/$i" \
--prefix DICPATH : ${lib.escapeShellArg hunspellDirs}
done
sed -i -e "s,${typing-booster},$out," $out/share/ibus/component/typing-booster.xml
'';
inherit (typing-booster) meta;
}

View File

@@ -0,0 +1,11 @@
--- a/uniemoji.xml.in
+++ b/uniemoji.xml.in
@@ -7,7 +7,7 @@
<license>GPL</license>
<author>Lalo Martins &lt;lalo.martins@gmail.com&gt;</author>
<homepage>https://github.com/salty-horse/ibus-uniemoji</homepage>
- <exec>@PYTHON@ @DATADIR@/ibus-uniemoji/ibus.py --ibus</exec>
+ <exec>@DATADIR@/ibus-uniemoji/ibus.py --ibus</exec>
<textdomain>uniemoji</textdomain>
<engines>
<engine>

View File

@@ -0,0 +1,71 @@
{
lib,
stdenv,
fetchFromGitHub,
gobject-introspection,
wrapGAppsHook3,
python3,
ibus,
}:
let
python = python3.withPackages (
ps: with ps; [
pygobject3
(toPythonModule ibus)
pyxdg
levenshtein
]
);
in
stdenv.mkDerivation rec {
pname = "ibus-uniemoji";
version = "0.7.0";
src = fetchFromGitHub {
owner = "salty-horse";
repo = "ibus-uniemoji";
tag = "v${version}";
hash = "sha256-iP72lExXnLFeWNJQfaDI/T4tRlXjHbRy+1X8+cAT+Zo=";
};
patches = [
# Do not run wrapper script with Python,
# the wrapped script will have Python in shebang anyway.
./allow-wrapping.patch
];
nativeBuildInputs = [
wrapGAppsHook3
gobject-introspection
];
buildInputs = [
python
ibus
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"SYSCONFDIR=${placeholder "out"}/etc"
"PYTHON=${python.interpreter}"
];
postFixup = ''
chmod +x "$out/share/ibus-uniemoji/ibus.py"
patchShebangs "$out/share/ibus-uniemoji/ibus.py"
wrapGApp "$out/share/ibus-uniemoji/ibus.py"
'';
meta = {
isIbusEngine = true;
description = "Input method (ibus) for entering unicode symbols and emoji by name";
homepage = "https://github.com/salty-horse/ibus-uniemoji";
license = with lib.licenses; [
gpl3
mit
];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ aske ];
};
}