1 {lib, stdenv, fetchurl, unzip}:
7 url = "http://urchlay.naptime.net/~urchlay/src/HawkNL168src.zip";
8 sha256 = "11shn2fbxj3w0j77w0234pqyj1368x686kkgv09q5yqhi1cdp028";
11 nativeBuildInputs = [ unzip ];
13 makefile = "makefile.linux";
16 sed -i s/soname,NL/soname,libNL/ src/makefile.linux
20 sed -i s,/usr/local,$out, src/makefile.linux
21 mkdir -p $out/lib $out/include
25 homepage = "http://hawksoft.com/hawknl/";
26 description = "Free, open source, game oriented network API";
27 license = lib.licenses.lgpl2Plus;
28 platforms = lib.platforms.linux;