summary refs log tree commit diff
path: root/pkgs/applications/graphics/feh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/feh/default.nix')
-rw-r--r--pkgs/applications/graphics/feh/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix
index d23f42fdbf9..5b6d745f0e9 100644
--- a/pkgs/applications/graphics/feh/default.nix
+++ b/pkgs/applications/graphics/feh/default.nix
@@ -1,5 +1,5 @@
 { stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng
-, libXinerama, curl }:
+, libXinerama, curl, libexif }:
 
 stdenv.mkDerivation rec {
   name = "feh-2.12";
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
     sha256 = "0ckhidmsms2l5jycp0qf71jzmb3bpbhjq3bcgfpvfvszah7pmq30";
   };
 
-  buildInputs = [makeWrapper x11 imlib2 libjpeg libpng libXinerama curl];
+  buildInputs = [ makeWrapper x11 imlib2 libjpeg libpng libXinerama curl libexif ];
 
   preBuild = ''
-    makeFlags="PREFIX=$out"
+    makeFlags="PREFIX=$out exif=1"
   '';
 
   postInstall = ''
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
   meta = {
     description = "A light-weight image viewer";
     homepage = https://derf.homelinux.org/projects/feh/;
-    license = "BSD";
+    license = stdenv.lib.licenses.mit;
     maintainers = with stdenv.lib.maintainers; [viric];
-    platforms = with stdenv.lib.platforms; linux;
+    platforms = with stdenv.lib.platforms; unix;
   };
 }