diff options
author | mimvoid <mimvoid@proton.me> | 2024-06-02 17:57:41 -0400 |
---|---|---|
committer | mimvoid <mimvoid@proton.me> | 2024-06-05 02:20:19 -0400 |
commit | 524cca3578e5b3d9fa3ef7ba80a57eb69e51c8d9 (patch) | |
tree | 5de2885c3329c8a438c222396d6bfa8027bea08a /pkgs/by-name/ca | |
parent | b81838e36b0295a2c5f2ebe008c32bb238f2d5bc (diff) |
catppuccin-grub: init at 1.0.0
maintainers: add mimvoid catppuccin-grub: init at 1.0.0 modified: pkgs/by-name/ca/catppuccin-grub/package.nix
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 0000000000000..7c3a16348e9b6 --- /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; + }; +} |