pkgs: rose-pine-grub init

This commit is contained in:
Zynh Ludwig 2024-10-08 15:22:58 -07:00
parent 58d6774e7f
commit 5da3f62134
2 changed files with 31 additions and 0 deletions

View file

@ -9,4 +9,5 @@ in
writeXrandrScriptBin = callDefaultPackage ./writeXrandrScriptBin; writeXrandrScriptBin = callDefaultPackage ./writeXrandrScriptBin;
borderlessBrowser = callDefaultPackage ./borderlessBrowser; borderlessBrowser = callDefaultPackage ./borderlessBrowser;
zenBrowser = callDefaultPackage ./zenBrowser; zenBrowser = callDefaultPackage ./zenBrowser;
rose-pine-grub = callDefaultPackage ./rosePineGrub;
} }

View file

@ -0,0 +1,30 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "rose-pine-grub";
version = "1.0";
src = fetchFromGitHub {
owner = "rose-pine";
repo = "grub";
rev = "${version}";
hash = "sha256-fEWCydlgiDt1j21q0a3YKrYv+bWIJhAQd57LuDtRNwg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -r *[^.md] "$out/"
runHook postInstall
'';
meta = {
description = "All natural pine, faux fur and a bit of soho vibes for GRUB";
homepage = "https://github.com/rose-pine/grub";
platforms = lib.platforms.linux;
};
}