mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
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:
parent
393644e28c
commit
f0e0bd18ed
1 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue