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;
};
}