summary refs log tree commit diff
path: root/pkgs/applications/graphics/feh
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-02-11 19:43:25 -0600
committerWill Dietz <w@wdtz.org>2019-02-11 22:46:55 -0600
commitdfa850f8065ced1361f7ef036328a043938b37b0 (patch)
tree312825ddc13c8c8ff94c3b98c72414be69236198 /pkgs/applications/graphics/feh
parent8568f68e612d203c54c14f39f38350d0043364b6 (diff)
downloadnixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar.gz
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar.bz2
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar.lz
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar.xz
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.tar.zst
nixpkgs-dfa850f8065ced1361f7ef036328a043938b37b0.zip
feh: 3.1.1 -> 3.1.2
minor touchups while visiting.
Diffstat (limited to 'pkgs/applications/graphics/feh')
-rw-r--r--pkgs/applications/graphics/feh/default.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix
index 02e6a10295e..9ef70dff766 100644
--- a/pkgs/applications/graphics/feh/default.nix
+++ b/pkgs/applications/graphics/feh/default.nix
@@ -6,11 +6,11 @@ with stdenv.lib;
 
 stdenv.mkDerivation rec {
   name = "feh-${version}";
-  version = "3.1.1";
+  version = "3.1.2";
 
   src = fetchurl {
     url = "https://feh.finalrewind.org/${name}.tar.bz2";
-    sha256 = "1sy8z6rv5sy1bhk3846hgfdy96wdi874yr2fnxfprks46qp29l31";
+    sha256 = "0qjhlrgr606gc9h96w9piyd13mx63jqfbxxnan41nrh76m8d0dka";
   };
 
   outputs = [ "out" "man" "doc" ];
@@ -20,25 +20,22 @@ stdenv.mkDerivation rec {
   buildInputs = [ xorg.libX11 xorg.libXinerama imlib2 libjpeg libpng curl libexif ];
 
   makeFlags = [
-    "PREFIX=$(out)" "exif=1"
+    "PREFIX=${placeholder "out"}" "exif=1"
   ] ++ optional stdenv.isDarwin "verscmp=0";
 
-  postBuild = ''
-    pushd man
-    make
-    popd
-  '';
-
+  installTargets = [ "install" ];
   postInstall = ''
     wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \
                                --add-flags '--theme=feh'
-    install -D -m 644 man/*.1 $out/share/man/man1
   '';
 
   checkInputs = [ perlPackages.perl perlPackages.TestCommand ];
   preCheck = ''
     export PERL5LIB="${perlPackages.TestCommand}/${perlPackages.perl.libPrefix}"
   '';
+  postCheck = ''
+    unset PERL5LIB
+  '';
 
   doCheck = true;