diff options
Diffstat (limited to 'pkgs/data/themes/catppuccin-sddm-corners/default.nix')
-rw-r--r-- | pkgs/data/themes/catppuccin-sddm-corners/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/data/themes/catppuccin-sddm-corners/default.nix b/pkgs/data/themes/catppuccin-sddm-corners/default.nix new file mode 100644 index 00000000000..eca8bac5e49 --- /dev/null +++ b/pkgs/data/themes/catppuccin-sddm-corners/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenvNoCC +, fetchFromGitHub +}: + +stdenvNoCC.mkDerivation { + pname = "catppuccin-sddm-corners"; + version = "unstable-2023-02-17"; + + src = fetchFromGitHub { + owner = "khaneliman"; + repo = "catppuccin-sddm-corners"; + rev = "7b7a86ee9a5a2905e7e6623d2af5922ce890ef79"; + hash = "sha256-sTnt8RarNXz3RmYfmx4rD+nMlY8rr2n0EN3ntPzOurw="; + }; + + 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 + ''; + + 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; + }; +} |