9 stdenvNoCC.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM=";
26 substituteInPlace sunpaper.sh \
27 --replace "sunwait" "${sunwait}/bin/sunwait" \
28 --replace "setwallpaper" "${wallutils}/bin/setwallpaper" \
29 --replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/"
33 mkdir -p "$out/bin" "$out/share/sunpaper/images"
34 cp sunpaper.sh $out/bin/sunpaper
35 cp -R images $out/share/sunpaper/
38 doInstallCheck = true;
40 installCheckPhase = ''
41 $out/bin/sunpaper --help > /dev/null
45 description = "A utility to change wallpaper based on local weather, sunrise and sunset times";
46 homepage = "https://github.com/hexive/sunpaper";
47 license = lib.licenses.unfree;
48 maintainers = with maintainers; [ jevy ];
49 platforms = platforms.unix;