about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2016-09-18 17:28:13 +0200
committerMoritz Ulrich <moritz@tarn-vedra.de>2016-09-18 17:29:27 +0200
commita115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7 (patch)
tree3416fccdbb84f487704edeafd6b98db21b90f5ef /pkgs/applications/graphics
parent9f2f523a59125864da2644a6127567b4cb509be0 (diff)
downloadnixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar.gz
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar.bz2
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar.lz
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar.xz
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.tar.zst
nixlib-a115cd5dbf9bed02cadb6cabeff7fd0d2fa303c7.zip
digikam5: Add tools for panorama/stacking to PATH
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/digikam/5.1.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/digikam/5.1.nix b/pkgs/applications/graphics/digikam/5.1.nix
index e0d3ceddca28..6bd572e99bba 100644
--- a/pkgs/applications/graphics/digikam/5.1.nix
+++ b/pkgs/applications/graphics/digikam/5.1.nix
@@ -35,6 +35,11 @@
 , opencv
 , threadweaver
 
+# For panorama and focus stacking
+, enblend-enfuse
+, hugin
+, gnumake
+
 , oxygen
 }:
 
@@ -99,7 +104,9 @@ stdenv.mkDerivation rec {
       --replace "/usr/bin/perl" "${perl}/bin/perl" \
       --replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
 
-    wrapQtProgram $out/bin/digikam
+    wrapQtProgram $out/bin/digikam \
+      --prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin"
+
     wrapQtProgram $out/bin/showfoto
   '';