nixos/pkgs/sddm-sugar-candy.nix

17 lines
449 B
Nix

{ pkgs ? import <nixpkgs> { }, stdenv, fetchFromGitHub }:
pkgs.stdenv.mkDerivation rec {
pname = "sddm-sugar-candy-theme";
version = "1.6";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -aR $src $out/share/sddm/themes/sugar-candy
'';
src = fetchFromGitHub {
owner = "Kangie";
repo = "sddm-sugar-candy";
rev = "v1.6";
sha256 = "sha256-p2d7I0UBP63baW/q9MexYJQcqSmZ0L5rkwK3n66gmqM=";
};
}