diff options
author | Masum Reza | 2024-06-21 10:12:33 +0530 |
---|---|---|
committer | GitHub | 2024-06-21 10:12:33 +0530 |
commit | 7154858e82d91010bb1289727b606687f32d1b92 (patch) | |
tree | dfa039f25c329c78cbfd2f2e975288a243f81fb8 /pkgs/by-name/ca | |
parent | 8e4351dee7b8aebb25557d62f6913d6a77fed8a6 (diff) | |
parent | 524cca3578e5b3d9fa3ef7ba80a57eb69e51c8d9 (diff) |
Merge pull request #316752 from mimvoid/add-catppuccin-grub
catppuccin-grub: init at 1.0.0
Diffstat (limited to 'pkgs/by-name/ca')
-rw-r--r-- | pkgs/by-name/ca/catppuccin-grub/package.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/ca/catppuccin-grub/package.nix b/pkgs/by-name/ca/catppuccin-grub/package.nix new file mode 100644 index 000000000000..7c3a16348e9b --- /dev/null +++ b/pkgs/by-name/ca/catppuccin-grub/package.nix @@ -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; + }; +} |