feat(packages): init catppuccin-swaync

This commit is contained in:
Samuel Sung 2023-12-26 20:13:25 +08:00
parent e4cbce17e8
commit 21b720592e
Signed by: samuelsung
GPG key ID: 8A095E0110570C73
4 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ buildNpmPackage
, srcs
, lib
}:
buildNpmPackage {
inherit (srcs.github-repo.catppuccin.swaync) src npmDepsHash;
name = "catppuccin-swaync";
installPhase = ''
cp -r dist $out/
'';
meta = with lib; {
homepage = "https://github.com/catppuccin/swaync";
description = "Soothing pastel theme for Swaync";
license = licenses.mit;
};
}

View file

@ -30,6 +30,7 @@ in
(mkIf (system == "x86_64-linux") {
inherit (packages)
catppuccin-discord
catppuccin-swaync
gshade_installer
oreo-nord-cursors
vifmimg
@ -52,6 +53,7 @@ in
(mkIf (system == "x86_64-linux") {
catppuccin-discord = callPackage ./catppuccin-discord.nix { inherit srcs; };
catppuccin-swaync = callPackage ./catppuccin-swaync.nix { inherit srcs; };
gshade_installer = callPackage ./gshade_installer.nix { inherit srcs; };
oreo-nord-cursors = callPackage ./oreo-nord-cursors.nix { inherit srcs; };
vifmimg = callPackage ./vifmimg.nix { inherit srcs; };

View file

@ -77,6 +77,12 @@ in
name = "newsboat";
ref = "main";
}
{
publisher = "catppuccin";
name = "swaync";
ref = "main";
npmDepsHash = true;
}
];
};
};

View file

@ -193,4 +193,16 @@ in
sha256 = "04ib4lvma5959n943f7myzbc2blmb8n2dd7bkb0xgl2rnpfx2fvk";
};
};
github-repo."catppuccin"."swaync" = {
name = "swaync";
publisher = "catppuccin";
version = "097e575cb4a0d4dc3b5d1fefb968d2cf24dad2a2";
npmDepsHash = "sha256-BWKyHf6ocZXMCUV15Au2In5ozsofIs3rrWhqWvJESKQ=";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "swaync";
rev = "097e575cb4a0d4dc3b5d1fefb968d2cf24dad2a2";
sha256 = "07gjg5sh2pr3n2gs2vi6giyw85czxn55ipm4l6y2mhsaqs2q3ahk";
};
};
}