3
0
Fork 0
forked from mirrors/nixpkgs

Adding mailsend tool

This commit is contained in:
Michael Raskin 2014-10-13 18:17:59 +04:00
parent fb30eb932b
commit 53a5b67d5e
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{stdenv, fetchurl, openssl}:
let
s = # Generated upstream information
rec {
baseName="mailsend";
version="1.17b15";
name="${baseName}-${version}";
hash="0sxjrv9yn2xyjak9si0gw2zalsrfqqcvz0indq9ap5fyalj1pjvk";
url="https://github.com/muquit/mailsend/archive/1.17b15.tar.gz";
sha256="0sxjrv9yn2xyjak9si0gw2zalsrfqqcvz0indq9ap5fyalj1pjvk";
};
buildInputs = [
openssl
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
configureFlags = [
"--with-openssl=${openssl}"
];
meta = {
inherit (s) version;
description = ''CLI email sending tool'';
license = stdenv.lib.licenses.bsd3 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "https://github.com/muquit/mailsend";
downloadPage = "https://github.com/muquit/mailsend/releases";
};
}

View file

@ -0,0 +1,3 @@
url "https://github.com/muquit/mailsend/releases"
ensure_choice
version '.*/([0-9][0-9.a-z]*)[.]tar[.].*' '\1'

View file

@ -1602,6 +1602,8 @@ let
maildrop = callPackage ../tools/networking/maildrop { };
mailsend = callPackage ../tools/networking/mailsend { };
mailpile = callPackage ../applications/networking/mailreaders/mailpile { };
mailutils = callPackage ../tools/networking/mailutils {