nixpkgs/pkgs/desktops/xfce/core/tumbler/default.nix
2021-12-08 11:34:00 -03:00

41 lines
767 B
Nix

{ lib
, mkXfceDerivation
, ffmpegthumbnailer
, gdk-pixbuf
, glib
, freetype
, libgsf
, poppler
, gst_all_1
}:
# TODO: add libopenraw
mkXfceDerivation {
category = "xfce";
pname = "tumbler";
version = "4.16.0";
sha256 = "sha256-JLcmYjStF9obDoRHsxnZ1e9HPTeJUVKjnn5Ip1BBmPw=";
buildInputs = [
ffmpegthumbnailer
freetype
gdk-pixbuf
glib
gst_all_1.gst-plugins-base
libgsf
poppler # technically the glib binding
];
# WrapGAppsHook won't touch this binary automatically, so we wrap manually.
postFixup = ''
wrapProgram $out/lib/tumbler-1/tumblerd "''${gappsWrapperArgs[@]}"
'';
meta = with lib; {
description = "A D-Bus thumbnailer service";
maintainers = with maintainers; [ ] ++ teams.xfce.members;
};
}