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

33 lines
779 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
2014-11-23 15:36:16 +00:00
, openldap
}:
2017-08-01 09:41:46 +00:00
stdenv.mkDerivation rec {
pname = "alpine";
2017-08-01 09:41:46 +00:00
version = "2.21";
src = fetchurl {
2019-09-06 21:14:27 +00:00
url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz";
2017-08-01 09:41:46 +00:00
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"
];
2019-09-06 21:14:27 +00:00
meta = with stdenv.lib; {
description = "Console mail reader";
2019-09-06 21:14:27 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
homepage = "http://alpine.x10host.com/";
2014-11-23 15:36:16 +00:00
};
}