3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #191381 from Baitinq/smart-wallpaper-update

smart-wallpaper: unstable-2022-09-01 -> unstable-2022-09-15
This commit is contained in:
Bobby Rong 2022-09-18 20:24:22 +08:00 committed by GitHub
commit aa59abf43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,17 +5,18 @@
, xdpyinfo
, killall
, xwinwrap
, swaybg
}:
stdenvNoCC.mkDerivation {
pname = "smart-wallpaper";
version = "unstable-2022-09-01";
version = "unstable-2022-09-15";
src = fetchFromGitHub {
owner = "Baitinq";
repo = "smart-wallpaper";
rev = "d175695d3485fb14144c1908eb3569b20caa6ba5";
sha256 = "sha256-cFgvuntdKPzdQJ7xE2DIT+aNAazocIhM6BBbcQOlryU=";
rev = "a23e6ed658342a405544ebe055ec1ac2fd464484";
sha256 = "sha256-IymFjyfqNycTLalZBiqmjJP5U6AFefe9BSWn3Mpoz4c=";
};
nativeBuildInputs = [ makeWrapper ];
@ -23,7 +24,7 @@ stdenvNoCC.mkDerivation {
installPhase = ''
install -Dm755 -t $out/bin smart-wallpaper
wrapProgram $out/bin/smart-wallpaper \
--prefix PATH : ${lib.makeBinPath [ xdpyinfo killall xwinwrap ]}
--prefix PATH : ${lib.makeBinPath [ xdpyinfo killall xwinwrap swaybg ]}
'';
meta = with lib; {