2017-02-18 20:10:00 +01:00
|
|
|
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl, coreutils }:
|
2017-02-13 03:51:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "epic5-${version}";
|
|
|
|
version = "2.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${name}.tar.xz";
|
|
|
|
sha256 = "1ap73d5f4vccxjaaq249zh981z85106vvqmxfm4plvy76b40y9jm";
|
2017-02-13 23:35:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Darwin needs libiconv, tcl; while Linux build don't
|
|
|
|
buildInputs = [ openssl ncurses ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv tcl ];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-debug" "--with-ipv6" ];
|
|
|
|
|
2017-02-13 03:51:17 +01:00
|
|
|
postConfigure = ''
|
2017-02-13 23:35:09 +01:00
|
|
|
substituteInPlace bsdinstall \
|
2017-02-18 20:10:00 +01:00
|
|
|
--replace /bin/cp ${coreutils}/bin/cp \
|
|
|
|
--replace /bin/rm ${coreutils}/bin/rm \
|
|
|
|
--replace /bin/chmod ${coreutils}/bin/chmod \
|
2017-02-13 23:35:09 +01:00
|
|
|
'';
|
|
|
|
|
2017-02-13 03:51:17 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-02-18 20:10:00 +01:00
|
|
|
homepage = "http://epicsol.org";
|
|
|
|
description = "A IRC client that offers a great ircII interface";
|
2017-02-13 03:51:17 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.ndowens ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|