3 Commits

Author SHA1 Message Date
147b629caf feat: Flake 2025-09-04 09:32:30 -06:00
6a30b146f1 feat: MORE 2025-09-04 09:19:09 -06:00
54534cad02 feat: readme 2025-08-13 17:14:12 -06:00
6 changed files with 135 additions and 5 deletions

View File

@@ -3,3 +3,29 @@ My personal Fcitx5 input tables.
The CMake code was nabbed directly from https://github.com/fcitx/fcitx5-table-other.
- The sydmath table is based on [agda-input](https://github.com/agda/agda/blob/7bc882012789200911852f5e4045150be2604b42/src/data/emacs-mode/agda-input.el) and [fcitx5-table-other's LaTeX table](https://github.com/fcitx/fcitx5-table-other/blob/master/tables/other/latex.txt)
## Install
### Without Nix
...
### With Nix
This can be installed into your NixOS/Home-manager configs:
```nix
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
addons = [
# The package `fcitx5-chinese-addons` is *required*!!
# See https://github.com/NixOS/nixpkgs/issues/126748.
pkgs.kdePackages.fcitx5-chinese-addons
inputs.syd-fcitx5-tables.packages.${system}.default
];
};
};
```

61
flake.lock generated Normal file
View File

@@ -0,0 +1,61 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1756819007,
"narHash": "sha256-12V64nKG/O/guxSYnr5/nq1EfqwJCdD2+cIGmhz3nrE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "aaff8c16d7fc04991cac6245bee1baa31f72b1e1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

17
flake.nix Normal file
View File

@@ -0,0 +1,17 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, ... }@inputs:
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
packages = rec {
syd-fcitx5-tables = pkgs.callPackage ./package.nix {};
default = syd-fcitx5-tables;
};
});
}

View File

@@ -15,6 +15,8 @@
<releases>
<release version="1.0.0" date="2025-07-17"/>
<release version="1.1.0" date="2025-08-13"/>
<release version="1.2.0" date="2025-09-04"/>
<release version="1.2.1" date="2025-09-04"/>
</releases>
<content_rating type="oars-1.1"/>
</component>

View File

@@ -4,14 +4,14 @@
, libime
, boost
, fcitx5
, libsForQt5
, kdePackages
, cmake
, extra-cmake-modules
}:
stdenv.mkDerivation rec {
pname = "syd-fcitx5-tables";
version = "1.1.0";
version = "1.2.1";
src = ./.;
@@ -28,11 +28,11 @@ stdenv.mkDerivation rec {
# Provides the table engine, without which this package is useless. See
# Nixpkgs issue #126748.
libsForQt5.fcitx5-chinese-addons
kdePackages.fcitx5-chinese-addons
];
meta = with lib; {
description = "Madeleine's Fcitx tables";
description = "Madeleine's Fcitx5 tables";
license = licenses.gpl3Only;
platforms = platforms.linux;
};

View File

@@ -1979,7 +1979,7 @@ Length=20
\^Gc ᵡ
\^GF ᶲ
\^0 ⁰
\^1
\^1 ¹
\^2 ²
\^3 ³
\^4 ⁴
@@ -1998,6 +1998,26 @@ Length=20
\_= ₌
\_( ₍
\_) ₎
\_1 ₁
\_2 ₂
\_3 ₃
\_4 ₄
\_5 ₅
\_6 ₆
\_7 ₇
\_8 ₈
\_9 ₉
\_0 ₀
\1 ₁
\2 ₂
\3 ₃
\4 ₄
\5 ₅
\6 ₆
\7 ₇
\8 ₈
\9 ₉
\0 ₀
\  
\! ¡
\cent ¢
@@ -2370,6 +2390,10 @@ Length=20
\frac78 ⅞
\frac1 ⅟
\fracslash
\frac/
\nbsp  
\zws
\nnbsp
\leftarrow ←
\uparrow ↑
\rightarrow →