1 { lib, stdenv, fetchurl, tcl }:
3 stdenv.mkDerivation rec {
8 url = "https://ftp.eggheads.org/pub/eggdrop/source/${lib.versions.majorMinor version}/eggdrop-${version}.tar.gz";
9 hash = "sha256-4mkY6opk2YV1ecW2DGYaM38gdz7dgwhrNWUlvrWBc2o=";
12 buildInputs = [ tcl ];
14 hardeningDisable = [ "format" ];
26 "--with-tcllib=${tcl}/lib/lib${tcl.libPrefix}${stdenv.hostPlatform.extensions.sharedLibrary}"
27 "--with-tclinc=${tcl}/include/tcl.h"
31 license = licenses.gpl2Plus;
32 platforms = platforms.unix;
33 homepage = "https://www.eggheads.org";
34 description = "Internet Relay Chat (IRC) bot";