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