nixos/pkgs/sddm-catppuccin-macchiato/default.nix

24 lines
541 B
Nix
Raw Normal View History

2023-04-07 10:10:18 +01:00
{
2023-05-18 11:50:27 +01:00
stdenvNoCC,
2023-05-17 17:10:18 +01:00
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
pname = "sddm-catppuccin-macchiato-theme";
version = "1.0";
dontBuild = true;
src = fetchFromGitHub {
owner = "catppuccin";
repo = "sddm";
rev = "bde6932e1ae0f8fdda76eff5c81ea8d3b7d653c0";
sha256 = "ceaK/I5lhFz6c+UafQyQVJIzzPxjmsscBgj8130D4dE=";
2023-04-07 10:10:18 +01:00
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/sddm/themes
cp -aR $src/src/catppuccin-macchiato $out/share/sddm/themes/catppuccin-macchiato
runHook postInstall
'';
2023-04-07 10:10:18 +01:00
}