2016-02-08 00:07:12 +01:00
|
|
|
{ stdenv, fetchFromGitHub, tcl }:
|
2009-10-08 09:01:55 +02:00
|
|
|
|
2020-02-12 18:52:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "eggdrop";
|
2020-02-12 18:52:32 +01:00
|
|
|
version = "1.8.4";
|
2009-10-08 09:01:55 +02:00
|
|
|
|
2016-02-08 00:07:12 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eggheads";
|
|
|
|
repo = "eggdrop";
|
2020-02-12 18:52:32 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0xqdrv4ydxw72a740lkmpg3fs7ldicaf08b0sfqdyaj7cq8l5x5l";
|
2009-10-08 09:01:55 +02:00
|
|
|
};
|
|
|
|
|
2015-04-27 06:30:28 +02:00
|
|
|
buildInputs = [ tcl ];
|
2009-10-08 09:01:55 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-08 00:07:12 +01:00
|
|
|
|
2009-10-08 09:01:55 +02:00
|
|
|
preConfigure = ''
|
|
|
|
prefix=$out/eggdrop
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $prefix
|
2009-10-08 09:01:55 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
postConfigure = ''
|
|
|
|
make config
|
|
|
|
'';
|
|
|
|
|
2015-04-27 06:30:28 +02:00
|
|
|
configureFlags = [
|
2017-09-12 21:36:41 +02:00
|
|
|
"--with-tcllib=${tcl}/lib/lib${tcl.libPrefix}${stdenv.hostPlatform.extensions.sharedLibrary}"
|
2015-04-27 06:30:28 +02:00
|
|
|
"--with-tclinc=${tcl}/include/tcl.h"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2020-02-12 18:52:32 +01:00
|
|
|
homepage = "http://www.eggheads.org";
|
2019-10-06 06:59:27 +02:00
|
|
|
description = "An Internet Relay Chat (IRC) bot";
|
2015-04-27 06:30:28 +02:00
|
|
|
};
|
2009-10-08 09:01:55 +02:00
|
|
|
}
|