forked from mirrors/nixpkgs
3de6e5be50
Conflicts: pkgs/applications/misc/navit/default.nix pkgs/applications/networking/mailreaders/alpine/default.nix pkgs/applications/networking/mailreaders/realpine/default.nix pkgs/development/compilers/ghc/head.nix pkgs/development/libraries/openssl/default.nix pkgs/games/liquidwar/default.nix pkgs/games/spring/springlobby.nix pkgs/os-specific/linux/kernel/perf.nix pkgs/servers/sip/freeswitch/default.nix pkgs/tools/archivers/cromfs/default.nix pkgs/tools/graphics/plotutils/default.nix
42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
{stdenv, fetchurl, ncurses, tcl, openssl, pam, pkgconfig, gettext, kerberos
|
|
, openldap
|
|
}:
|
|
|
|
# NOTE: Please check if any changes here are applicable to ../realpine/ as well
|
|
let
|
|
version = "2.00";
|
|
baseName = "alpine";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "${baseName}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.cac.washington.edu/alpine/alpine-${version}.tar.bz2";
|
|
sha256 = "19m2w21dqn55rhxbh5lr9qarc2fqa9wmpj204jx7a0zrb90bhpf8";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses tcl openssl pam kerberos openldap
|
|
];
|
|
|
|
hardeningDisable = [ "format" "fortify" ];
|
|
|
|
configureFlags = [
|
|
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
|
|
"--with-tcl-lib=${tcl.libPrefix}"
|
|
"--with-passfile=.pine-passfile"
|
|
];
|
|
|
|
preConfigure = ''
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
|
|
'';
|
|
|
|
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/";
|
|
};
|
|
}
|