Unverified Commit e8e5dcb0 authored by isabel's avatar isabel Committed by GitHub
Browse files

catppuccin-hyprland: init at 1.3 (#515253)

parents 04902ce6 e5c239db
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -7910,6 +7910,12 @@
    githubId = 45268815;
    name = "Flavio Galán";
  };
  ElSebas41 = {
    email = "achavezaiquipa@gmail.com";
    github = "ElSebas41";
    githubId = 189925713;
    name = "Angel Chavez";
  };
  elvishjerricco = {
    email = "elvishjerricco@gmail.com";
    matrix = "@elvishjerricco:matrix.org";
+39 −0
Original line number Diff line number Diff line
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
  nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "catppuccin-hyprland";
  version = "1.3";
  strictDeps = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "catppuccin";
    repo = "hyprland";
    tag = "v${finalAttrs.version}";
    hash = "sha256-jkk021LLjCLpWOaInzO4Klg6UOR4Sh5IcKdUxIn7Dis=";
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/themes
    cp -rva $src/themes $out/share/themes/catppuccin-hyprland-themes

    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Soothing pastel theme for Hyprland";
    homepage = "https://github.com/catppuccin/hyprland";
    changelog = "https://github.com/catppuccin/hyprland/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ElSebas41 ];
    platforms = lib.platforms.all;
  };
})