2006-01-15 13:03:00 +01:00
|
|
|
{stdenv, fetchurl, apacheHttpd, python}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-02-05 12:41:49 +01:00
|
|
|
name = "mod_python-3.3.1";
|
2006-01-15 13:03:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-10-06 15:38:45 +02:00
|
|
|
url = mirror://apache/httpd/modpython/mod_python-3.3.1.tgz;
|
2008-02-05 12:41:49 +01:00
|
|
|
sha256 = "0sss2xi6l1a2z8y6ji0cp8vgyvnhq8zrg0ilkvpj1mygbzyk28xd";
|
2006-01-15 13:03:00 +01:00
|
|
|
};
|
|
|
|
|
2008-10-06 15:38:45 +02:00
|
|
|
patches = [
|
|
|
|
./install.patch
|
|
|
|
|
|
|
|
# See http://bugs.gentoo.org/show_bug.cgi?id=230211
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://bugs.gentoo.org/attachment.cgi?id=160400";
|
|
|
|
sha256 = "0yx6x9c5rg5kn6y8vsi4xj3nvg016rrfk553ca1bw796v383xkyj";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
installFlags="LIBEXECDIR=$out/modules $installFlags"
|
|
|
|
ensureDir $out/modules
|
|
|
|
'';
|
2006-01-15 13:03:00 +01:00
|
|
|
|
2008-10-06 15:38:45 +02:00
|
|
|
passthru = { inherit apacheHttpd; };
|
|
|
|
|
2006-01-15 13:03:00 +01:00
|
|
|
buildInputs = [apacheHttpd python];
|
|
|
|
}
|