sunpaper: 2.0 -> 2.1
Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
This commit is contained in:
parent
410777e6e8
commit
88396a022b
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user