depot/pkgs/by-name/pl/plasma-plugin-blurredwallpaper/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
954 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "plasma-plugin-blurredwallpaper";
version = "3.2.0";
src = fetchFromGitHub {
owner = "bouteillerAlan";
repo = "blurredwallpaper";
rev = "v${finalAttrs.version}";
hash = "sha256-P/N7g/cl2K0R4NKebfqZnr9WQkHPSvHNbKbWiOxs76k=";
};
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;
};
})