2021-12-21 11:03:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mailsend";
|
|
|
|
version = "1.19";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/muquit/mailsend/archive/${version}.tar.gz";
|
|
|
|
sha256 = "sha256-Vl72vibFjvdQZcVRnq6N1VuuMUKShhlpayjSQrc0k/c=";
|
2014-10-13 14:17:59 +00:00
|
|
|
};
|
2021-12-21 11:03:41 +00:00
|
|
|
|
2014-10-13 14:17:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
configureFlags = [
|
2016-04-16 17:44:32 +00:00
|
|
|
"--with-openssl=${openssl.dev}"
|
2014-10-13 14:17:59 +00:00
|
|
|
];
|
2019-03-06 22:52:05 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://github.com/muquit/mailsend/commit/960df6d7a11eef90128dc2ae660866b27f0e4336.patch";
|
2019-03-06 22:52:05 +00:00
|
|
|
sha256 = "0vz373zcfl19inflybfjwshcq06rvhx0i5g0f4b021cxfhyb1sm0";
|
|
|
|
})
|
|
|
|
];
|
2021-12-21 11:03:41 +00:00
|
|
|
meta = with lib; {
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "CLI email sending tool";
|
2021-12-21 11:03:41 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/muquit/mailsend";
|
2014-10-13 14:17:59 +00:00
|
|
|
downloadPage = "https://github.com/muquit/mailsend/releases";
|
|
|
|
};
|
|
|
|
}
|