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

41 lines
989 B
Nix
Raw Normal View History

2014-11-23 17:46:03 +01:00
{stdenv, fetchurl, ncurses, tcl, openssl, pam, pkgconfig, gettext, kerberos
, openldap
}:
let
2016-02-09 23:58:58 +01:00
baseName = "re-alpine";
version = "2.03";
in
stdenv.mkDerivation {
name = "${baseName}-${version}";
inherit version;
src = fetchurl {
2014-11-23 17:46:03 +01:00
url = "mirror://sourceforge/re-alpine/re-alpine-${version}.tar.bz2";
sha256 = "11xspzbk9cwmklmcw6rxsan7j71ysd4m9c7qldlc59ck595k5nbh";
};
2016-02-09 23:58:58 +01:00
2014-11-23 17:46:03 +01:00
buildInputs = [
ncurses tcl openssl pam kerberos openldap
];
2016-02-09 23:58:58 +01:00
hardening_format = false;
2014-11-23 17:46:03 +01:00
configureFlags = [
"--with-ssl-include-dir=${openssl}/include/openssl"
2015-04-27 06:18:07 +02:00
"--with-tcl-lib=${tcl.libPrefix}"
2016-02-09 23:58:58 +01:00
];
2014-11-23 17:46:03 +01:00
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
'';
2016-02-09 23:58:58 +01:00
2014-11-23 17:46:03 +01:00
meta = {
2016-02-09 23:58:58 +01:00
description = "Console mail reader";
2014-11-23 17:46:03 +01:00
license = stdenv.lib.licenses.asl20;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "http://re-alpine.sf.net/";
downloadPage = "http://sourceforge.net/projects/re-alpine/files/";
};
}