epic5: init at 2.0.1

Added conditional to support darwin

Changed comment about buildInputs

Added 's' to optional condition
This commit is contained in:
ndowens 2017-02-12 20:51:17 -06:00
parent a77705748b
commit dda70d9b06
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{stdenv, fetchurl, pkgs, 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";
};
# Darwin needs libiconv, tcl; while Linux build don't
buildInputs = [ openssl ncurses ]
++ stdenv.lib.optionals
stdenv.isDarwin [ libiconv tcl ];
postConfigure = ''
substituteInPlace bsdinstall \
--replace /bin/cp cp \
--replace /bin/rm rm \
--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 ];
};
}

View file

@ -13154,6 +13154,8 @@ with pkgs;
inherit (gnome3) epiphany;
epic5 = callPackage ../applications/networking/irc/epic5 { };
eq10q = callPackage ../applications/audio/eq10q { };
errbot = callPackage ../applications/networking/errbot {