Skip to content

Commit

Permalink
Merge pull request #210542 from michaelBelsanti/catppuccin-kde
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Jan 17, 2023
2 parents 4bab0ae + 18e1e76 commit 7d81cb9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/data/themes/catppuccin-kde/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 7d81cb9

Please sign in to comment.