sunpaper: 2.0 -> 2.1

Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
This commit is contained in:
R. Ryantm 2024-08-09 23:05:18 +00:00 committed by éclairevoyant
parent 410777e6e8
commit 88396a022b
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sunpaper";
version = "2.0";
version = "2.1";
src = fetchFromGitHub {
owner = "hexive";
repo = "sunpaper";
rev = "v${finalAttrs.version}";
hash = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM=";
hash = "sha256-koCK0ntzRf8OXoUj5DJdPWsFDD8EAMjnGdM1B5oeBBc=";
};
buildInputs = [
@ -23,9 +23,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace sunpaper.sh \
--replace "sunwait" "${lib.getExe sunwait}" \
--replace "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
--replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/"
--replace-fail "sunwait" "${lib.getExe sunwait}" \
--replace-fail "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
--replace-fail '$HOME/sunpaper/images/' "$out/share/sunpaper/images/" \
--replace-fail '/usr/share' '/etc'
'';
installPhase = ''