1 {lib, stdenv, fetchurl, unzip}:
3 stdenv.mkDerivation rec {
8 url = "http://urchlay.naptime.net/~urchlay/src/HawkNL${lib.replaceStrings ["."] [""] version}src.zip";
9 sha256 = "11shn2fbxj3w0j77w0234pqyj1368x686kkgv09q5yqhi1cdp028";
12 nativeBuildInputs = [ unzip ];
14 makefile = "makefile.linux";
17 sed -i s/soname,NL/soname,libNL/ src/makefile.linux
21 sed -i s,/usr/local,$out, src/makefile.linux
22 mkdir -p $out/lib $out/include
26 homepage = "http://hawksoft.com/hawknl/";
27 description = "Free, open source, game oriented network API";
28 license = lib.licenses.lgpl2Plus;
29 platforms = lib.platforms.linux;