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: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "sunpaper";
|
pname = "sunpaper";
|
||||||
version = "2.0";
|
version = "2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hexive";
|
owner = "hexive";
|
||||||
repo = "sunpaper";
|
repo = "sunpaper";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM=";
|
hash = "sha256-koCK0ntzRf8OXoUj5DJdPWsFDD8EAMjnGdM1B5oeBBc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -23,9 +23,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace sunpaper.sh \
|
substituteInPlace sunpaper.sh \
|
||||||
--replace "sunwait" "${lib.getExe sunwait}" \
|
--replace-fail "sunwait" "${lib.getExe sunwait}" \
|
||||||
--replace "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
|
--replace-fail "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
|
||||||
--replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/"
|
--replace-fail '$HOME/sunpaper/images/' "$out/share/sunpaper/images/" \
|
||||||
|
--replace-fail '/usr/share' '/etc'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user