mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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
This commit is contained in:
parent
b81838e36b
commit
524cca3578
37
pkgs/by-name/ca/catppuccin-grub/package.nix
Normal file
37
pkgs/by-name/ca/catppuccin-grub/package.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user