1 { stdenv, lib, fetchurl, perlPackages
2 , autoconf, perl, gperf, optipng, pngnq, rsync, imagemagick, blitz
3 , pkg-config, glib, boost, makeWrapper
7 perl-deps = with perlPackages; [
8 AnyEvent AnyEventAIO AnyEventBDB AnyEventIRC
9 CompressLZF commonsense Coro CoroEV
10 Deliantra DigestSHA1 EV PodPOM SafeHole URI YAMLLibYAML
13 stdenv.mkDerivation rec {
14 pname = "deliantra-server";
18 url = "http://dist.schmorp.de/deliantra/${pname}-${version}.tar.xz";
19 sha256 = "0v0m2m9fxq143aknh7jb3qj8bnpjrs3bpbbx07c18516y3izr71d";
23 autoconf perl gperf optipng pngnq rsync imagemagick
24 pkg-config makeWrapper
27 propagatedBuildInputs = perl-deps;
33 hardeningDisable = [ "format" ];
41 env.CXXFLAGS = "-std=c++11";
44 wrapProgram $out/bin/cfutil --prefix PERL5LIB : $PERL5LIB
45 wrapProgram $out/bin/deliantra-server --prefix PERL5LIB : $PERL5LIB
49 description = "Server for the Deliantra free MMORPG";
50 homepage = "http://www.deliantra.net/";
51 license = with licenses; [ gpl2Plus agpl3Plus ];
52 platforms = platforms.linux;
53 maintainers = with maintainers; [ ToxicFrog ];