2016-01-04 04:30:07 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, openssl }:
|
|
|
|
|
|
|
|
let
|
|
|
|
eMailSrc = fetchFromGitHub {
|
2016-08-09 04:58:13 +02:00
|
|
|
owner = "deanproxy";
|
2016-01-04 04:30:07 +01:00
|
|
|
repo = "eMail";
|
2016-08-09 04:58:13 +02:00
|
|
|
rev = "7d23c8f508a52bd8809e2af4290417829b6bb5ae";
|
|
|
|
sha256 = "1cxxzhm36civ6vjdgrk7mfmlzkih44kdii6l2xgy4r434s8rzcpn";
|
2016-01-04 04:30:07 +01:00
|
|
|
};
|
|
|
|
|
2017-06-26 20:10:37 +02:00
|
|
|
srcRoot = eMailSrc.name;
|
2016-01-04 04:30:07 +01:00
|
|
|
|
|
|
|
dlibSrc = fetchFromGitHub {
|
|
|
|
owner = "deanproxy";
|
|
|
|
repo = "dlib";
|
|
|
|
rev = "f62f29e918748b7cea476220f7492672be81c9de";
|
|
|
|
sha256 = "0h34cikch98sb7nsqjnb9wl384c8ndln3m6yb1172l4y89qjg9rr";
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "email-git-2016-01-31";
|
|
|
|
src = eMailSrc;
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
unpackPhase;
|
|
|
|
cp -Rp ${dlibSrc}/* ${srcRoot}/dlib;
|
|
|
|
chmod -R +w ${srcRoot}/dlib;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command line SMTP client";
|
|
|
|
license = with lib.licenses; [ gpl2 ];
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://deanproxy.com/code;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-01-04 04:30:07 +01:00
|
|
|
};
|
2016-08-02 19:50:55 +02:00
|
|
|
}
|