36 lines
632 B
Nix
36 lines
632 B
Nix
{ mkXfceDerivation
|
|
, ffmpegthumbnailer
|
|
, gdk-pixbuf
|
|
, glib
|
|
, freetype
|
|
, libgsf
|
|
, poppler
|
|
, libjpeg
|
|
, gst_all_1
|
|
}:
|
|
|
|
# TODO: add libopenraw
|
|
|
|
mkXfceDerivation {
|
|
category = "xfce";
|
|
pname = "tumbler";
|
|
version = "0.2.7";
|
|
|
|
sha256 = "14ql3fcxyz81qr9s0vcwh6j2ks5fl8jf9scwnkilv5jy0ii9l0ry";
|
|
|
|
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[@]}"
|
|
'';
|
|
}
|