nixpkgs/pkgs/applications/networking/mailreaders/alpine/default.nix

34 lines
870 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
2014-11-23 15:36:16 +00:00
, openldap
}:
# 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";
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
};
2014-11-23 15:36:16 +00:00
buildInputs = [
ncurses tcl openssl pam kerberos openldap
];
2017-08-01 09:41:46 +00:00
hardeningDisable = [ "format" ];
2014-11-23 15:36:16 +00:00
configureFlags = [
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
2016-07-17 11:58:06 +00:00
"--with-passfile=.pine-passfile"
];
2014-11-23 15:36:16 +00:00
meta = {
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;
homepage = https://www.washington.edu/alpine/;
2014-11-23 15:36:16 +00:00
};
}