nixos/pkgs/rosePineGrub/default.nix

31 lines
593 B
Nix
Raw Normal View History

2024-10-08 22:22:58 +00:00
{ 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;
};
}