Merge pull request #210542 from michaelBelsanti/catppuccin-kde

This commit is contained in:
Sandro 2023-01-17 21:19:41 +01:00 committed by GitHub
commit 7d81cb9db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "kde";
version = "unstable-2022-11-26";
src = fetchFromGitHub {
owner = "catppuccin";
repo = pname;
rev = "249df3ec0cdae79af379f4a10b802c50feac89ba";
hash = "sha256-CH9GJnFqqdyIzW7VfGb3oB1YPULEZsfK3d1eyFALwKc=";
};
installPhase = ''
mkdir -p $out/share/{plasma/look-and-feel,color-schemes}
find . -type f -name "Catppuccin*.colors" -exec cp "{}" $out/share/color-schemes \;
find . -type f -name "*.tar.gz" -exec tar -xzf "{}" \;
cp -R Catppuccin-* $out/share/plasma/look-and-feel
'';
meta = with lib; {
description = "Soothing pastel theme for KDE";
homepage = "https://github.com/catppuccin/kde";
license = licenses.mit;
maintainers = with maintainers; [ michaelBelsanti ];
};
}

View File

@ -365,6 +365,8 @@ with pkgs;
catppuccin-gtk = callPackage ../data/themes/catppuccin-gtk { };
catppuccin-kde = callPackage ../data/themes/catppuccin-kde { };
btdu = callPackage ../tools/misc/btdu { };
cereal = callPackage ../development/libraries/cereal { };