diff --git a/pkgs/default.nix b/pkgs/default.nix index 07b40d0..e09bbc1 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -9,4 +9,5 @@ in writeXrandrScriptBin = callDefaultPackage ./writeXrandrScriptBin; borderlessBrowser = callDefaultPackage ./borderlessBrowser; zenBrowser = callDefaultPackage ./zenBrowser; + rose-pine-grub = callDefaultPackage ./rosePineGrub; } diff --git a/pkgs/rosePineGrub/default.nix b/pkgs/rosePineGrub/default.nix new file mode 100644 index 0000000..7cf9da3 --- /dev/null +++ b/pkgs/rosePineGrub/default.nix @@ -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; + }; +}