2018-07-21 01:44:44 +01:00
|
|
|
{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
|
2014-11-23 15:36:16 +00:00
|
|
|
, openldap
|
|
|
|
}:
|
2016-02-09 10:29:15 +00:00
|
|
|
|
2017-08-01 10:41:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "alpine";
|
2020-07-10 17:33:58 +01:00
|
|
|
version = "2.23";
|
2016-02-09 10:29:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 22:14:27 +01:00
|
|
|
url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz";
|
2020-07-10 17:33:58 +01:00
|
|
|
sha256 = "0yqzm56lqgg8v66m09vqxjvpclli4pql5xj8zg7mynq0bhhn2fkr";
|
2014-11-23 15:36:16 +00:00
|
|
|
};
|
2016-02-09 10:29:15 +00:00
|
|
|
|
2014-11-23 15:36:16 +00:00
|
|
|
buildInputs = [
|
|
|
|
ncurses tcl openssl pam kerberos openldap
|
|
|
|
];
|
2016-02-09 10:29:15 +00:00
|
|
|
|
2017-08-01 10:41:46 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-09 10:29:15 +00:00
|
|
|
|
2014-11-23 15:36:16 +00:00
|
|
|
configureFlags = [
|
2016-04-16 18:44:32 +01:00
|
|
|
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
|
2016-07-17 12:58:06 +01:00
|
|
|
"--with-passfile=.pine-passfile"
|
2020-07-10 17:33:58 +01:00
|
|
|
"--with-c-client-target=slx"
|
2016-02-09 10:29:15 +00:00
|
|
|
];
|
|
|
|
|
2019-09-06 22:14:27 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-02-09 10:29:15 +00:00
|
|
|
description = "Console mail reader";
|
2019-09-06 22:14:27 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
homepage = "http://alpine.x10host.com/";
|
2014-11-23 15:36:16 +00:00
|
|
|
};
|
|
|
|
}
|