2023-03-29 21:48:55 +05:30
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
,
|
2023-03-25 22:10:09 +05:30
|
|
|
}:
|
2023-03-15 22:11:59 +05:30
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "catppuccin-wallpapers";
|
|
|
|
version = "latest";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "catppuccin";
|
|
|
|
repo = "wallpapers";
|
2023-03-30 22:40:31 +05:30
|
|
|
rev = "460356d349d3af42fcc7874df5ac95f2040710ad";
|
|
|
|
hash = "sha256-M5OmZXcH1pBFxjtRX9BcPaf7zwuZVAR+j/rG7uyRU3I=";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/wallpapers/catppuccin
|
|
|
|
find . -type f -regextype egrep -regex ".*\.(jpe?g|png)$" -exec cp {} $out/share/wallpapers/catppuccin/ \;
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Wallpapers to match your Catppuccin setups!";
|
|
|
|
homepage = "https://github.com/catppuccin/wallpapers";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|