refactor(pkgs): use haumea for automatic callPackage

This commit is contained in:
2025-07-06 14:29:10 +08:00
parent 32232d08db
commit b460cb58ef
14 changed files with 59 additions and 19 deletions

View File

@@ -0,0 +1,30 @@
{
lib,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "fcitx5-lightly";
version = "unstable";
src = ./lightly;
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
runHook preInstall
mkdir -p $out/share/fcitx5/themes/lightly
cp -r * $out/share/fcitx5/themes/lightly
runHook postInstall
'';
meta = with lib; {
description = "lightly-qt fcitx5 theme (generated by fcitx5 plasma theme)";
platforms = platforms.all;
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

View File

@@ -0,0 +1,98 @@
[Metadata]
Name=Light
Version=1
Author=Fcitx
Description="从 Plasma 主题 lightly 生成的主题"
[InputPanel]
NormalColor=#282a2f
HighlightCandidateColor=#282a2f
HighlightColor=#eff0f1
HighlightBackgroundColor=#526f95
BlurMask=mask.png
EnableBlur=True
[InputPanel/ContentMargin]
Left=14
Top=14
Right=14
Bottom=14
[InputPanel/ShadowMargin]
Left=10
Top=10
Right=10
Bottom=10
[InputPanel/Background]
Image=panel.png
[InputPanel/Background/Margin]
Left=14
Top=14
Right=14
Bottom=14
[InputPanel/Highlight]
Image=highlight.png
[InputPanel/Highlight/Margin]
Left=4
Top=4
Right=4
Bottom=4
[InputPanel/TextMargin]
Left=4
Top=7
Right=4
Bottom=7
[InputPanel/PrevPage]
Image=prev.png
[InputPanel/NextPage]
Image=next.png
[Menu]
Spacing=2.500000
[Menu/ContentMargin]
Left=14
Top=14
Right=14
Bottom=14
[Menu/Background]
Image=panel.png
[Menu/Background/Margin]
Left=14
Top=14
Right=14
Bottom=14
[Menu/Highlight]
Image=highlight.png
[Menu/Highlight/Margin]
Left=4
Top=4
Right=4
Bottom=4
[Menu/TextMargin]
Left=4
Top=4
Right=4
Bottom=4
[Menu/SubMenu]
Image=arrow.png
[Menu/CheckBox]
Image=radio.png
[Menu/Separator]
Image=line.png