nixos-config/pkgs/sddm-sugar-candy/default.nix

26 lines
564 B
Nix
Raw Normal View History

2022-04-10 11:54:58 +02:00
{
stdenv,
fetchFromGitLab,
}:
2021-04-22 14:22:55 +02:00
stdenv.mkDerivation rec {
pname = "sddm-sugar-candy";
# latest master commit, no recent tags :(
version = "2b72ef6c6f720fe0ffde5ea5c7c48152e02f6c4f";
2021-07-13 18:08:26 +02:00
2021-04-22 14:22:55 +02:00
dontBuild = true;
installPhase = ''
2021-04-22 15:15:34 +02:00
mkdir -p $out/share/sddm/themes
cp -aR . $out/share/sddm/themes/sugar-candy
'';
2021-07-13 18:08:26 +02:00
2022-04-10 11:54:58 +02:00
patches = [./custom-conf.patch];
2021-07-13 18:08:26 +02:00
2021-04-22 14:22:55 +02:00
src = fetchFromGitLab {
domain = "framagit.org";
owner = "MarianArlt";
repo = "sddm-sugar-candy";
rev = version;
sha256 = "sha256-XggFVsEXLYklrfy1ElkIp9fkTw4wvXbyVkaVCZq4ZLU=";
};
}