2018-07-21 00:44:44 +00: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
|
|
|
|
2016-08-25 06:28:45 +00:00
|
|
|
# NOTE: Please check if any changes here are applicable to ../realpine/ as well
|
2017-08-01 09:41:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "alpine-${version}";
|
|
|
|
version = "2.21";
|
2016-02-09 10:29:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-08-01 09:41:46 +00:00
|
|
|
url = "http://alpine.freeiz.com/alpine/release/src/${name}.tar.xz";
|
|
|
|
sha256 = "0f3llxrmaxw7w9w6aixh752md3cdc91mwfmbarkm8s413f4bcc30";
|
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 09:41:46 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-09 10:29:15 +00:00
|
|
|
|
2014-11-23 15:36:16 +00:00
|
|
|
configureFlags = [
|
2016-04-16 17:44:32 +00:00
|
|
|
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
|
2016-07-17 11:58:06 +00:00
|
|
|
"--with-passfile=.pine-passfile"
|
2016-02-09 10:29:15 +00:00
|
|
|
];
|
|
|
|
|
2014-11-23 15:36:16 +00:00
|
|
|
meta = {
|
2016-02-09 10:29:15 +00:00
|
|
|
description = "Console mail reader";
|
2014-11-23 15:36:16 +00:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://www.washington.edu/alpine/;
|
2014-11-23 15:36:16 +00:00
|
|
|
};
|
|
|
|
}
|