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