40 lines
767 B
Nix
40 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.1";
|
|
|
|
sha256 = "sha256-f2pCItNHTB0ggovIddpwNWEhaohfxD2otN8x9VfwR4k=";
|
|
|
|
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;
|
|
};
|
|
}
|