pkgs: Add package for rime-yuhao_star
This commit is contained in:
parent
8615b2aed9
commit
20f1284263
7 changed files with 61 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ in
|
||||||
./radicle-ci-broker.nix
|
./radicle-ci-broker.nix
|
||||||
./wallpapers.nix
|
./wallpapers.nix
|
||||||
./waydroid-script.nix
|
./waydroid-script.nix
|
||||||
|
./rime-yuhaostar.nix
|
||||||
|
|
||||||
./pkgsNoCuda.nix
|
./pkgsNoCuda.nix
|
||||||
]
|
]
|
||||||
|
|
|
||||||
5
overlays/additions/rime-yuhaostar.nix
Normal file
5
overlays/additions/rime-yuhaostar.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{outputs, ...}: _final: prev: let
|
||||||
|
inherit (prev.stdenv.hostPlatform) system;
|
||||||
|
in {
|
||||||
|
inherit (outputs.packages.${system}) rime-yuhaostar;
|
||||||
|
}
|
||||||
|
|
@ -150,6 +150,21 @@
|
||||||
},
|
},
|
||||||
"version": "d5f684b2ec12dc875ec0278c8e2fe71faaa88d38"
|
"version": "d5f684b2ec12dc875ec0278c8e2fe71faaa88d38"
|
||||||
},
|
},
|
||||||
|
"rime-yuhaostar": {
|
||||||
|
"cargoLocks": null,
|
||||||
|
"date": null,
|
||||||
|
"extract": null,
|
||||||
|
"name": "rime-yuhaostar",
|
||||||
|
"passthru": null,
|
||||||
|
"pinned": false,
|
||||||
|
"src": {
|
||||||
|
"name": "yustar_v3.8.0.zip",
|
||||||
|
"sha256": "sha256-aUMsuXkiK/FVVi6qPg+dphAOpRyGiDKsT2wD2VBShKo=",
|
||||||
|
"type": "url",
|
||||||
|
"url": "http://ys-j.ysepan.com/wap/zhuyuhao/91SbOjgNKE7A2PMH8A/we7hF96sa52g4EccbuakeGd8LE3NGc/宿µ©æé³_v3.8.0.zip"
|
||||||
|
},
|
||||||
|
"version": "v3.8.0"
|
||||||
|
},
|
||||||
"spotx": {
|
"spotx": {
|
||||||
"cargoLocks": null,
|
"cargoLocks": null,
|
||||||
"date": "2025-07-02",
|
"date": "2025-07-02",
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,15 @@
|
||||||
};
|
};
|
||||||
date = "2025-06-27";
|
date = "2025-06-27";
|
||||||
};
|
};
|
||||||
|
rime-yuhaostar = {
|
||||||
|
pname = "rime-yuhaostar";
|
||||||
|
version = "v3.8.0";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ys-j.ysepan.com/wap/zhuyuhao/91SbOjgNKE7A2PMH8A/we7hF96sa52g4EccbuakeGd8LE3NGc/\23431\28009\26143\38515_v3.8.0.zip";
|
||||||
|
name = "yustar_v3.8.0.zip";
|
||||||
|
sha256 = "sha256-aUMsuXkiK/FVVi6qPg+dphAOpRyGiDKsT2wD2VBShKo=";
|
||||||
|
};
|
||||||
|
};
|
||||||
spotx = {
|
spotx = {
|
||||||
pname = "spotx";
|
pname = "spotx";
|
||||||
version = "a0df4fcaace5efc1b58acd39b2c4d1750bb81057";
|
version = "a0df4fcaace5efc1b58acd39b2c4d1750bb81057";
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ in {
|
||||||
editor-runtime = callPackage ./editor-runtime.nix {};
|
editor-runtime = callPackage ./editor-runtime.nix {};
|
||||||
cliphist = callPackage ./cliphist.nix {};
|
cliphist = callPackage ./cliphist.nix {};
|
||||||
radicle-ci-broker = callPackage ./radicle-ci-broker.nix {};
|
radicle-ci-broker = callPackage ./radicle-ci-broker.nix {};
|
||||||
|
rime-yuhaostar = callPackage ./rime-yuhaostar.nix {};
|
||||||
|
|
||||||
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
|
noto-serif-cjk = callPackage ./noto-serif-cjk.nix {};
|
||||||
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
noto-sans-cjk = callPackage ./noto-sans-cjk.nix {};
|
||||||
|
|
|
||||||
|
|
@ -49,3 +49,8 @@ fetch.url = "http://wallpaper.youthlic.social/hieda-no-akyuu-touhou.1920x1080.mp
|
||||||
["wallpaper_outer-wilds.3840x2160.mp4"]
|
["wallpaper_outer-wilds.3840x2160.mp4"]
|
||||||
src.cmd = "curl -sL http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
src.cmd = "curl -sL http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
||||||
fetch.url = "http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4"
|
fetch.url = "http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4"
|
||||||
|
|
||||||
|
[rime-yuhaostar]
|
||||||
|
src.github = "forfudan/yuhao-ime-release"
|
||||||
|
fetch.url = "http://ys-j.ysepan.com/wap/zhuyuhao/91SbOjgNKE7A2PMH8A/we7hF96sa52g4EccbuakeGd8LE3NGc/宇浩星陳_$ver.zip"
|
||||||
|
url.name = "yustar_$ver.zip"
|
||||||
|
|
|
||||||
25
pkgs/rime-yuhaostar.nix
Normal file
25
pkgs/rime-yuhaostar.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
srcs,
|
||||||
|
stdenv,
|
||||||
|
unzip,
|
||||||
|
}: let
|
||||||
|
inherit (srcs.rime-yuhaostar) src version;
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "rime-yuhaostar";
|
||||||
|
version = version;
|
||||||
|
inherit src;
|
||||||
|
nativeBuildInputs = [unzip];
|
||||||
|
|
||||||
|
sourceRoot = "schema";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/rime-data
|
||||||
|
cp -rt $out/share/rime-data -- ./*
|
||||||
|
rm $out/share/rime-data/default.custom.yaml
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue