perl-mod_perl2: use cpan mirror

Also add license field.
This commit is contained in:
Robert Helgesson 2017-01-09 21:07:39 +01:00
parent 18c0b54981
commit 5d2723945e
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -8443,7 +8443,7 @@ let self = _self // overrides; _self = with self; {
mod_perl2 = buildPerlPackage {
name = "mod_perl-2.0.9";
src = fetchurl {
url = http://apache.mirror.iphh.net/perl/mod_perl-2.0.9.tar.gz;
url = mirror://cpan/authors/id/S/SH/SHAY/mod_perl-2.0.9.tar.gz;
sha256 = "0azmir4hbb825mfmcxwa1frhnhhf82rl8xf6mmgwkhbinxmg4q02";
};
makeMakerFlags = "MP_AP_DESTDIR=$out";
@ -8451,6 +8451,7 @@ let self = _self // overrides; _self = with self; {
doCheck = false; # would try to start Apache HTTP server
meta = {
description = "Embed a Perl interpreter in the Apache HTTP server";
license = stdenv.lib.licenses.asl20;
};
};
Mojolicious = buildPerlPackage rec {