depot/third_party/nixpkgs/pkgs/by-name/pl/plymouth-vortex-ubuntu-theme/package.nix

43 lines
1.2 KiB
Nix

{
stdenvNoCC,
fetchFromGitHub,
lib,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "plymouth-vortex-ubuntu-theme";
version = "0-unstable-2024-11-20";
src = fetchFromGitHub {
owner = "emanuele-scarsella";
repo = "vortex-ubuntu-plymouth-theme";
rev = "5b3c88102fd8f322626c01514deedd7ba8e7ebdd";
hash = "sha256-AuYLjyOfpmwE4pFhKDQdR1uC+6Rr5FWUC5h9yWesXRE=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/plymouth/themes/vortex-ubuntu
cp vortex-ubuntu/* $out/share/plymouth/themes/vortex-ubuntu
substituteInPlace $out/share/plymouth/themes/vortex-ubuntu/vortex-ubuntu.plymouth \
--replace-fail "/usr/" "$out/"
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Animated Plymouth boot theme with rotating Ubuntu logo";
longDescription = ''
Animated Plymouth theme with the Ubuntu logo and a futuristic and elegant look.
Disk encryption password prompt is supported.
'';
homepage = "https://github.com/emanuele-scarsella/vortex-ubuntu-plymouth-theme";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ johnrtitor ];
};
}