diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-06-01 19:48:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-01 19:48:57 +0200 |
commit | b5769881ca41f3ddb5b164ff034f4b068970c75a (patch) | |
tree | 2278257b7695e85181bea7f1c5843233bc3bc6e8 | |
parent | 006abf109481c046b2d91ef8d8fcb53045f411e9 (diff) | |
parent | 790a585f8128b299f8dc63d90e57cebf79d6b087 (diff) |
Merge pull request #315960 from JohnRTitor/plymouth-vortex-ubuntu-theme
plymouth-vortex-ubuntu-theme: init at 0-unstable-2024-05-05
-rw-r--r-- | pkgs/by-name/pl/plymouth-vortex-ubuntu-theme/package.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/by-name/pl/plymouth-vortex-ubuntu-theme/package.nix b/pkgs/by-name/pl/plymouth-vortex-ubuntu-theme/package.nix new file mode 100644 index 000000000000..d6223df07cda --- /dev/null +++ b/pkgs/by-name/pl/plymouth-vortex-ubuntu-theme/package.nix @@ -0,0 +1,43 @@ +{ + stdenvNoCC, + fetchFromGitHub, + lib, + unstableGitUpdater, +}: + +stdenvNoCC.mkDerivation { + pname = "plymouth-vortex-ubuntu-theme"; + version = "0-unstable-2024-05-05"; + + src = fetchFromGitHub { + owner = "emanuele-scarsella"; + repo = "vortex-ubuntu-plymouth-theme"; + rev = "331a201918a3b026dd200659403c1cf779c718f0"; + hash = "sha256-RSWfuKCdsuFA2e5kb0OXnxW+QV7b2iHVvZEKVHoLgMw="; + }; + + 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 ]; + }; +} |