3
0
Fork 0
forked from mirrors/nixpkgs

perl-Apache-Test: disable tests

The tests don't work even with the redirects, possibly due to
attempting to start Apache.

Also add basic meta section.
This commit is contained in:
Robert Helgesson 2017-11-01 14:49:08 +01:00
parent e344aec6db
commit 52bbba956b
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -227,11 +227,11 @@ let self = _self // overrides; _self = with self; {
url = mirror://cpan/authors/id/S/SH/SHAY/Apache-Test-1.40.tar.gz;
sha256 = "0h5fsi0is6nhclsd3wwkkqx2hfgl3bpdazxycafm9sqxr3qkgx9w";
};
checkPhase = ''
make test \
NIX_REDIRECTS=/etc/protocols=${pkgs.iana-etc}/etc/protocols \
LD_PRELOAD=${pkgs.libredirect}/lib/libredirect.so
'';
doCheck = false;
meta = {
description = "Test.pm wrapper with helpers for testing Apache";
license = stdenv.lib.licenses.asl20;
};
};
AppCLI = buildPerlPackage {