diff options
author | John Titor | 2024-07-27 15:46:33 +0530 |
---|---|---|
committer | John Titor | 2024-07-27 15:49:52 +0530 |
commit | 0510b4f2bb95e57fc6fc6a33e82d7fc25add19f6 (patch) | |
tree | b0f487fe6f16440d10417529d484cf1c87c83dd1 /pkgs/by-name/pl | |
parent | e36e9f57337d0ff0cf77aceb58af4c805472bfae (diff) |
plasma-plugin-blurredwallpaper: init at 3.1.0
Diffstat (limited to 'pkgs/by-name/pl')
-rw-r--r-- | pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix b/pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix new file mode 100644 index 000000000000..b6fc12d6484a --- /dev/null +++ b/pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix @@ -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; + }; +}) |