Merge pull request #315961 from JohnRTitor/plymouth-proxzima-theme

plymouth-proxzima-theme: init at 0-unstable-2023-01-30
This commit is contained in:
superherointj 2024-06-01 14:21:48 -03:00 committed by GitHub
commit 95d4e2b793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,39 @@
{
stdenvNoCC,
fetchFromGitHub,
lib,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "plymouth-proxzima-theme";
version = "0-unstable-2023-01-30";
src = fetchFromGitHub {
owner = "PROxZIMA";
repo = "proxzima-plymouth";
rev = "b6e335a631e057942700de5c523198a5b8061d9c";
hash = "sha256-f4CtXKsZPc/gZMVD+MJrHMrMw7TTFUndhUT4YLpfORU=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plymouth/themes/proxzima
cp proxzima/* $out/share/plymouth/themes/proxzima
substituteInPlace $out/share/plymouth/themes/proxzima/proxzima.plymouth \
--replace-fail "/usr/" "$out/"
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "A techno Plymouth theme with crazy animation";
homepage = "https://github.com/PROxZIMA/proxzima-plymouth";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ johnrtitor ];
};
}