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

43 lines
1.1 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
2014-11-23 16:46:03 +00:00
, openldap
}:
# NOTE: Please check if any changes here are applicable to ../alpine/ as well
2014-11-23 16:46:03 +00:00
let
2016-02-09 22:58:58 +00:00
baseName = "re-alpine";
version = "2.03";
in
stdenv.mkDerivation {
name = "${baseName}-${version}";
inherit version;
src = fetchurl {
2014-11-23 16:46:03 +00:00
url = "mirror://sourceforge/re-alpine/re-alpine-${version}.tar.bz2";
sha256 = "11xspzbk9cwmklmcw6rxsan7j71ysd4m9c7qldlc59ck595k5nbh";
};
2016-02-09 22:58:58 +00:00
2014-11-23 16:46:03 +00:00
buildInputs = [
ncurses tcl openssl pam kerberos openldap
];
2016-02-09 22:58:58 +00:00
hardeningDisable = [ "format" ];
2016-02-09 22:58:58 +00:00
2014-11-23 16:46:03 +00:00
configureFlags = [
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
2015-04-27 05:18:07 +01:00
"--with-tcl-lib=${tcl.libPrefix}"
"--with-passfile=.pine-passfile"
2016-02-09 22:58:58 +00:00
];
2014-11-23 16:46:03 +00:00
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
'';
2016-02-09 22:58:58 +00:00
2014-11-23 16:46:03 +00:00
meta = {
2016-02-09 22:58:58 +00:00
description = "Console mail reader";
2014-11-23 16:46:03 +00:00
license = stdenv.lib.licenses.asl20;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = http://re-alpine.sf.net/;
2014-11-23 16:46:03 +00:00
downloadPage = "http://sourceforge.net/projects/re-alpine/files/";
};
}