nixpkgs-suyu/pkgs/applications/networking/mailreaders/alpine/default.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

32 lines
792 B
Nix

{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
, openldap
}:
stdenv.mkDerivation rec {
pname = "alpine";
version = "2.21";
src = fetchurl {
url = "http://alpine.freeiz.com/alpine/release/src/${pname}-${version}.tar.xz";
sha256 = "0f3llxrmaxw7w9w6aixh752md3cdc91mwfmbarkm8s413f4bcc30";
};
buildInputs = [
ncurses tcl openssl pam kerberos openldap
];
hardeningDisable = [ "format" ];
configureFlags = [
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
"--with-passfile=.pine-passfile"
];
meta = {
description = "Console mail reader";
license = stdenv.lib.licenses.asl20;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = https://www.washington.edu/alpine/;
};
}