diff options
Diffstat (limited to 'pkgs/applications/networking/browsers/netsurf/libparserutils.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/libparserutils.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/libparserutils.nix b/pkgs/applications/networking/browsers/netsurf/libparserutils.nix new file mode 100644 index 0000000000000..b96018d92eb86 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libparserutils.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, perl +, buildsystem +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libparserutils"; + version = "0.2.4"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-MiuuYbMMzt4+MFv26uJBSSBkl3W8X/HRtogBKjxJR9g="; + }; + + buildInputs = [ perl buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; + description = "Parser building library for netsurf browser"; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |