perlPackages.Mail-Sendmail: init at 0.80 (#35223)

* perl-Mail-Sendmail: init at 0.80

* Disabled unit test that could never succeed in sandbox
This commit is contained in:
Michael Brantley 2018-02-28 10:49:09 +00:00 committed by Jörg Thalheim
parent 393644e28c
commit f0e0bd18ed

@ -8475,6 +8475,27 @@ let self = _self // overrides; _self = with self; {
};
};
MailSendmail = buildPerlPackage rec {
name = "Mail-Sendmail-0.80";
src = fetchurl {
url = "mirror://cpan/authors/id/N/NE/NEILB/Mail-Sendmail-0.80.tar.gz";
sha256 = "1r38qbkj7jwj8cqy1rnqzkk81psxi08b1aiq392817f3bk5ri2jv";
};
propagatedBuildInputs = [ DigestMD5 MIMEBase64 Socket TimeLocal ];
# The test suite simply loads the module and attempts to send an email to
# the module's author, the latter of which is a) more of an integration
# test, b) impossible to verify, and c) won't work from a sandbox. Replace
# it in its entirety with the following simple smoke test.
checkPhase = ''
perl -I blib/lib -MMail::Sendmail -e 'print "1..1\nok 1\n"'
'';
meta = {
maintainers = [ maintainers.limeytexan ];
description = "Simple platform independent mailer";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
MailSPF = buildPerlPackage rec {
name = "Mail-SPF-v2.9.0";
#src = /root/nixops/Mail-SPF-v2.9.0;