nixpkgs/pkgs/by-name/ep/epic5/package.nix
2024-10-25 21:51:58 +08:00

52 lines
900 B
Nix

{
lib,
stdenv,
ruby,
fetchurl,
openssl,
ncurses,
libiconv,
tcl,
libxcrypt,
perl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "epic5";
version = "3.0.1";
src = fetchurl {
url = "https://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/epic5-${finalAttrs.version}.tar.xz";
hash = "sha256-F7lnxh5Yh08HdeH9CwYH+FxktjJYwaxNQInoETUqOUU=";
};
buildInputs =
[
openssl
ncurses
libxcrypt
ruby
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
tcl
];
configureFlags = [
"--with-ipv6"
];
nativeBuildInputs = [
perl
];
meta = {
homepage = "https://epicsol.org";
description = "IRC client that offers a great ircII interface";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
mainProgram = "epic5";
};
})