nixos/pkgs/sddm-theme/default.nix

21 lines
528 B
Nix

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