2008-05-27 15:05:16 +00:00
|
|
|
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2009-01-04 17:30:03 +00:00
|
|
|
name = "pqiv-0.8";
|
2008-05-27 15:05:16 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-01-04 17:30:03 +00:00
|
|
|
url = "http://www.pberndt.com/raw//Programme/Linux/pqiv/_download/pqiv-0.8.tbz";
|
|
|
|
sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
|
2008-05-27 15:05:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ getopt which pkgconfig gtk ];
|
|
|
|
|
|
|
|
unpackCmd="bzip2 -d < $src | tar xvf - || fail";
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|