Merge pull request #330375 from JohnRTitor/blurredwallpaper

plasma-plugin-blurredwallpaper: init at 3.1.0
This commit is contained in:
Masum Reza 2024-07-28 18:40:21 +05:30 committed by GitHub
commit 36c226bf97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,39 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "plasma-plugin-blurredwallpaper";
version = "3.1.0";
src = fetchFromGitHub {
owner = "bouteillerAlan";
repo = "blurredwallpaper";
rev = "v${finalAttrs.version}";
hash = "sha256-+MjnVsGHqitQytxiAH39Kx9SXuTEFfIC14Ayzu4yE4I=";
};
installPhase = ''
runHook preInstall
install -d $out/share/plasma/wallpapers/a2n.blur{,.plasma5}
cp -r a2n.blur{,.plasma5} $out/share/plasma/wallpapers/
runHook postInstall
'';
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Plasma 6 wallpaper plugin to blur the wallpaper of active window";
homepage = "https://github.com/bouteillerAlan/blurredwallpaper";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [
dr460nf1r3
johnrtitor
];
platforms = lib.platforms.linux;
};
})