{ stdenv, fetchurl, perl , buildsystem }: stdenv.mkDerivation rec { name = "netsurf-${libname}-${version}"; libname = "libparserutils"; version = "0.2.3"; src = fetchurl { url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; sha256 = "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"; }; buildInputs = [ buildsystem perl ]; makeFlags = [ "PREFIX=$(out)" "NSSHARED=${buildsystem}/share/netsurf-buildsystem" ]; meta = with stdenv.lib; { homepage = http://www.netsurf-browser.org/; description = "Parser building library for netsurf browser"; license = licenses.gpl2; maintainers = [ maintainers.vrthra ]; platforms = platforms.linux; }; }