mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #210542 from michaelBelsanti/catppuccin-kde
This commit is contained in:
commit
7d81cb9db3
30
pkgs/data/themes/catppuccin-kde/default.nix
Normal file
30
pkgs/data/themes/catppuccin-kde/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user