trying sygil-plymouth again

This commit is contained in:
serenity-F 2026-03-02 22:33:42 +10:00
parent f6ad6171eb
commit 89fe140327
No known key found for this signature in database
2 changed files with 55 additions and 6 deletions

View file

@ -0,0 +1,42 @@
{
stdenvNoCC,
fetchFromGitea,
lib,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
name = "plymouth-sygil-theme";
version = "0.2.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "Serenity-F";
repo = "sygil-plymouth";
rev = "0.2.0";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plymouth/themes/sygil
cp sygil/* $out/share/plymouth/themes/sygil
chmod +x $out/share/plymouth/themes/sygil/sygil.plymouth
substituteInPlace $out/share/plymouth/themes/sygil/sygil.plymouth \
--replace-fail "/usr/" "$out/"
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Animated sygil Plymouth theme.";
homepage = "https://codeberg.org/Serenity-F/sygil-plymouth";
license = with lib.licenses; [ gpl3Only ];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ Serenity-F ];
};
}