2023-02-10 07:46:37 +01:00
|
|
|
{
|
|
|
|
fetchzip,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
stdenv,
|
|
|
|
}: let
|
2023-01-31 09:38:11 +01:00
|
|
|
flavour = "Mocha";
|
|
|
|
accent = "Pink";
|
|
|
|
in
|
2023-02-10 07:46:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "catppuccin-gtk";
|
|
|
|
version = "0.4.1";
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/catppuccin/gtk/releases/download/v${version}/Catppuccin-${flavour}-Standard-${accent}-Dark.zip";
|
|
|
|
sha256 = "sha256-84OpiYgzX61HoLjpF2ffQnAuL3tS1DFuDx2dHbBIog8=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
propagatedUserEnvPkgs = with pkgs; [
|
|
|
|
gnome.gnome-themes-extra
|
|
|
|
gtk-engine-murrine
|
|
|
|
];
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share/themes"
|
|
|
|
cp -r "Catppuccin-${flavour}-Standard-${accent}-Dark" "$out/share/themes"
|
|
|
|
'';
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2023-02-10 07:46:37 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Soothing pastel theme for GTK3";
|
|
|
|
homepage = "https://github.com/catppuccin/gtk";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [maintainers.nekowinston];
|
|
|
|
};
|
|
|
|
}
|