8 stdenv.mkDerivation rec {
12 url = "mirror://sourceforge/wraithbotpack/wraith-v${version}.tar.gz";
13 sha256 = "1h8159g6wh1hi69cnhqkgwwwa95fa6z1zrzjl219mynbf6vjjzkw";
15 hardeningDisable = [ "format" ];
16 buildInputs = [ openssl ];
22 substituteInPlace configure --subst-var-by openssl.dev ${openssl.dev} \
23 --subst-var-by openssl-lib ${lib.getLib openssl}
24 substituteInPlace src/libssl.cc --subst-var-by openssl ${lib.getLib openssl}
25 substituteInPlace src/libcrypto.cc --subst-var-by openssl ${lib.getLib openssl}
29 cp -a wraith $out/bin/wraith
30 ln -s wraith $out/bin/hub
34 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
35 description = "IRC channel management bot written purely in C/C++";
37 Wraith is an IRC channel management bot written purely in C/C++. It has
38 been in development since late 2003. It is based on Eggdrop 1.6.12 but has
39 since evolved into something much different at its core. TCL and loadable
40 modules are currently not supported.
43 Copy the binary out of the store before running it with the -C option to
44 configure it. See https://github.com/wraith/wraith/wiki/GettingStarted .
46 The binary will not run when moved onto non-NixOS systems; use patchelf
47 to fix its runtime dependenices.
49 homepage = "https://wraith.botpack.net/";
50 license = licenses.gpl2Plus;
51 maintainers = with maintainers; [ elitak ];
52 platforms = platforms.linux;