Skip to content

Commit

Permalink
Merge pull request #330375 from JohnRTitor/blurredwallpaper
Browse files Browse the repository at this point in the history
plasma-plugin-blurredwallpaper: init at 3.1.0
  • Loading branch information
JohnRTitor authored Jul 28, 2024
2 parents 202ad93 + 0510b4f commit 36c226b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix
Original file line number Diff line number Diff line change
@@ -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;
};
})

0 comments on commit 36c226b

Please sign in to comment.