depot/third_party/nixpkgs/pkgs/by-name/pl/plymouth-proxzima-theme/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 lines
1,017 B
Nix

{
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 = "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 ];
};
}