summary refs log tree commit diff
path: root/pkgs/desktops/xfce/core/tumbler/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce/core/tumbler/default.nix')
-rw-r--r--pkgs/desktops/xfce/core/tumbler/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/core/tumbler/default.nix b/pkgs/desktops/xfce/core/tumbler/default.nix
new file mode 100644
index 00000000000..b795007ca7c
--- /dev/null
+++ b/pkgs/desktops/xfce/core/tumbler/default.nix
@@ -0,0 +1,39 @@
+{ 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[@]}"
+  '';
+
+  meta = {
+    description = "A D-Bus thumbnailer service";
+  };
+}