nixpkgs/pkgs/applications/graphics/pqiv/default.nix
Ludovic Courtès f1f286052e Remove `unpackCmd's not needed with GNU tar format auto-detection (r18492).
svn path=/nixpkgs/branches/stdenv-updates/; revision=18653
2009-11-26 15:50:26 +00:00

23 lines
641 B
Nix

{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
stdenv.mkDerivation (rec {
name = "pqiv-0.8";
src = fetchurl {
url = "http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/${name}.tbz";
sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
};
buildInputs = [ getopt which pkgconfig gtk ];
preConfigure=''
substituteInPlace configure --replace /bin/bash "$shell"
sed -i -e 's|$(tempfile -s.*)|temp.c|' -e 's|tempfile|mktemp|' configure
'';
meta = {
description = "Rewrite of qiv (quick image viewer)";
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
};
})