Merge pull request #316752 from mimvoid/add-catppuccin-grub

catppuccin-grub: init at 1.0.0
This commit is contained in:
Masum Reza
2024-06-21 10:12:33 +05:30
committed by GitHub
2 changed files with 43 additions and 0 deletions
+6
View File
@@ -13157,6 +13157,12 @@
githubId = 3269878;
name = "Miguel Madrid Mencía";
};
mimvoid = {
github = "mimvoid";
githubId = 153698678;
email = "mimvoid@proton.me";
name = "mimvoid";
};
mindavi = {
email = "rol3517@gmail.com";
github = "Mindavi";
@@ -0,0 +1,37 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
flavor ? "mocha", # override with your chosen flavor
}:
let
version = "1.0.0";
in
stdenvNoCC.mkDerivation {
pname = "catppuccin-grub";
inherit version;
src = fetchFromGitHub {
owner = "catppuccin";
repo = "grub";
rev = "v${version}";
hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -r src/catppuccin-${flavor}-grub-theme/* "$out/"
runHook postInstall
'';
meta = {
description = "Soothing pastel theme for GRUB";
homepage = "https://github.com/catppuccin/grub";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [isabelroses mimvoid];
platforms = lib.platforms.linux;
};
}