diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-09-22 00:02:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 00:02:14 +0000 |
commit | c651d7d9e9e1439c8398362282f03fa3c7f25dec (patch) | |
tree | 68f562b72b840506a73a0208367954b29bb6af90 /pkgs/tools/X11 | |
parent | 25421963c797b02308d2e08d6e7b58c11d1dd40e (diff) | |
parent | aea649223beaf0ade154eff5c3206982d21a5e88 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r-- | pkgs/tools/X11/sunpaper/default.nix | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pkgs/tools/X11/sunpaper/default.nix b/pkgs/tools/X11/sunpaper/default.nix deleted file mode 100644 index 116b0225ab0f9..0000000000000 --- a/pkgs/tools/X11/sunpaper/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, sunwait -, wallutils -}: - -stdenvNoCC.mkDerivation rec { - pname = "sunpaper"; - version = "2.0"; - - src = fetchFromGitHub { - owner = "hexive"; - repo = "sunpaper"; - rev = "v${version}"; - sha256 = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM="; - }; - - buildInputs = [ - wallutils - sunwait - ]; - - postPatch = '' - substituteInPlace sunpaper.sh \ - --replace "sunwait" "${sunwait}/bin/sunwait" \ - --replace "setwallpaper" "${wallutils}/bin/setwallpaper" \ - --replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/" - ''; - - installPhase = '' - mkdir -p "$out/bin" "$out/share/sunpaper/images" - cp sunpaper.sh $out/bin/sunpaper - cp -R images $out/share/sunpaper/ - ''; - - doInstallCheck = true; - - installCheckPhase = '' - $out/bin/sunpaper --help > /dev/null - ''; - - meta = with lib; { - description = "A utility to change wallpaper based on local weather, sunrise and sunset times"; - homepage = "https://github.com/hexive/sunpaper"; - license = lib.licenses.unfree; - maintainers = with maintainers; [ jevy ]; - platforms = platforms.unix; - }; -} |