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

24 lines
541 B
Nix
Raw Normal View History

{
stdenvNoCC,
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=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/sddm/themes
cp -aR $src/src/catppuccin-macchiato $out/share/sddm/themes/catppuccin-macchiato
runHook postInstall
'';
}