40 lines
950 B
Nix
40 lines
950 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "catppuccin-sddm-corners";
|
|
version = "unstable-2023-05-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "khaneliman";
|
|
repo = "catppuccin-sddm-corners";
|
|
rev = "ffaad5c8964b52ccd92a80dfd3a7931c8b68c446";
|
|
hash = "sha256-CaCMrXlwt7JfSycB8WH3XCWUu+i7bPSfFv3duo7ZlZo=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/share/sddm/themes/"
|
|
cp -r catppuccin/ "$out/share/sddm/themes/catppuccin-sddm-corners"
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Soothing pastel theme for SDDM based on corners theme.";
|
|
homepage = "https://github.com/khaneliman/sddm-catppuccin-corners";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ khaneliman ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|