nixpkgs/pkgs/applications/networking/irc/epic5/default.nix

35 lines
888 B
Nix
Raw Normal View History

2017-02-13 22:35:09 +00:00
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl }:
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 22:35:09 +00: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" ];
postConfigure = ''
2017-02-13 22:35:09 +00:00
substituteInPlace bsdinstall \
--replace /bin/cp cp \
--replace /bin/rm rm \
2017-02-13 22:35:09 +00:00
--replace /bin/chmod chmod
'';
meta = with stdenv.lib; {
homepage = "http://epicsol.org/";
description = "a IRC client that offers a great ircII interface";
license = licenses.bsd3;
maintainers = [ maintainers.ndowens ];
};
}