2014-10-13 16:17:59 +02:00
|
|
|
{stdenv, fetchurl, openssl}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="mailsend";
|
2016-05-25 16:01:18 +02:00
|
|
|
version="1.19";
|
2014-10-13 16:17:59 +02:00
|
|
|
name="${baseName}-${version}";
|
2016-05-25 16:01:18 +02:00
|
|
|
hash="1xwk6jvl5li8ddlik1lj88qswnyminp9wlf5cm8gg3n54szgcpjn";
|
|
|
|
url="https://github.com/muquit/mailsend/archive/1.19.tar.gz";
|
|
|
|
sha256="1xwk6jvl5li8ddlik1lj88qswnyminp9wlf5cm8gg3n54szgcpjn";
|
2014-10-13 16:17:59 +02:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
configureFlags = [
|
2016-04-16 19:44:32 +02:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2014-10-13 16:17:59 +02:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
|
|
|
description = ''CLI email sending tool'';
|
|
|
|
license = stdenv.lib.licenses.bsd3 ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/muquit/mailsend;
|
2014-10-13 16:17:59 +02:00
|
|
|
downloadPage = "https://github.com/muquit/mailsend/releases";
|
|
|
|
};
|
|
|
|
}
|