nixpkgs/pkgs/desktops/xfce/core/tumbler/default.nix

40 lines
698 B
Nix
Raw Normal View History

{ mkXfceDerivation
, ffmpegthumbnailer
, gdk-pixbuf
, glib
, freetype
, libgsf
, poppler
, libjpeg
, gst_all_1
}:
2017-12-17 15:02:52 +00:00
# TODO: add libopenraw
2019-08-13 22:52:01 +01:00
mkXfceDerivation {
2017-12-17 15:02:52 +00:00
category = "xfce";
pname = "tumbler";
2020-04-15 18:50:50 +01:00
version = "0.2.8";
2017-12-17 15:02:52 +00:00
2020-04-15 18:50:50 +01:00
sha256 = "1y9sphaz3izal96v53lps692xxzp5pad1d09kxsmmpm7pic4n1r2";
2017-12-17 15:02:52 +00:00
buildInputs = [
ffmpegthumbnailer
freetype
gdk-pixbuf
glib
gst_all_1.gst-plugins-base
libgsf
poppler # technically the glib binding
];
2019-09-26 03:47:51 +01:00
# WrapGAppsHook won't touch this binary automatically, so we wrap manually.
postFixup = ''
wrapProgram $out/lib/tumbler-1/tumblerd "''${gappsWrapperArgs[@]}"
'';
meta = {
description = "A D-Bus thumbnailer service";
};
2017-12-17 15:02:52 +00:00
}