From 4b3d62dcc9c49419acf1d0a2829c7446233c4b34 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Thu, 30 May 2024 21:40:48 +0530 Subject: [PATCH] plymouth-proxzima-theme: init at 0-unstable-2023-01-30 --- .../pl/plymouth-proxzima-theme/package.nix | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/pl/plymouth-proxzima-theme/package.nix diff --git a/pkgs/by-name/pl/plymouth-proxzima-theme/package.nix b/pkgs/by-name/pl/plymouth-proxzima-theme/package.nix new file mode 100644 index 000000000000..f7591512a3f1 --- /dev/null +++ b/pkgs/by-name/pl/plymouth-proxzima-theme/package.nix @@ -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 ]; + }; +}