2008-05-27 17:05:16 +02:00
|
|
|
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2009-01-04 18:30:03 +01:00
|
|
|
name = "pqiv-0.8";
|
2008-05-27 17:05:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-26 16:50:26 +01:00
|
|
|
url = "http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/${name}.tbz";
|
2009-01-04 18:30:03 +01:00
|
|
|
sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
|
2008-05-27 17:05:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|