3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mailreaders/alpine/default.nix

34 lines
808 B
Nix
Raw Normal View History

2021-03-14 16:11:48 +00:00
{lib, stdenv, fetchurl, ncurses, tcl, openssl, pam, libkrb5
2014-11-23 15:36:16 +00:00
, openldap
}:
2017-08-01 10:41:46 +01:00
stdenv.mkDerivation rec {
pname = "alpine";
2021-10-16 19:08:52 +01:00
version = "2.25";
src = fetchurl {
2019-09-06 22:14:27 +01:00
url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz";
2021-10-16 19:08:52 +01:00
sha256 = "0xppxhcbafq9qa1rns5zl0n238gai08xhvcf2as0nx7nh84ib2k5";
2014-11-23 15:36:16 +00:00
};
2014-11-23 15:36:16 +00:00
buildInputs = [
2021-03-14 16:11:48 +00:00
ncurses tcl openssl pam libkrb5 openldap
2014-11-23 15:36:16 +00:00
];
2017-08-01 10:41:46 +01:00
hardeningDisable = [ "format" ];
2014-11-23 15:36:16 +00:00
configureFlags = [
"--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"
];
meta = with lib; {
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
};
}