packages: Remove webp-thumbnailer

No longer necessary since webp thumbnailer support in tumbler is now
upstreamed in nixpkgs.

See: https://github.com/NixOS/nixpkgs/pull/340364
This commit is contained in:
Donovan Glover 2024-09-09 13:34:24 -04:00
parent 7393e7c0d6
commit 1d8199e20a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,27 +0,0 @@
{
lib,
stdenvNoCC,
libwebp,
}:
stdenvNoCC.mkDerivation {
pname = "webp-thumbnailer";
version = "1.0.0";
dontUnpack = true;
postInstall = ''
mkdir -p $out/share/thumbnailers
echo "[Thumbnailer Entry]" >> $out/share/thumbnailers/webp.thumbnailer
echo "Exec=${libwebp}/bin/dwebp %i -scale %s 0 -o %o" >> $out/share/thumbnailers/webp.thumbnailer
echo "MimeType=image/x-webp;image/webp;" >> $out/share/thumbnailers/webp.thumbnailer
'';
meta = {
homepage = "https://github.com/liquuid/nautilus-webp-thumbnailer";
description = "Create thumbnails from webp files";
maintainers = with lib.maintainers; [ donovanglover ];
platforms = lib.platforms.linux;
};
}