diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 02:54:15 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:15 -0300 |
commit | 0f845601f6000e8b70d9f2e863a97ee9be50df1b (patch) | |
tree | 6b382c68a6dd48d0c5f616df69df668012c9b768 /pkgs/applications/networking/browsers | |
parent | b055ec84fcf30729743fcc4649cc64b4e9753c8b (diff) |
Netsurf libparserutils: 0.2.4 -> 0.2.4
Update metadata and maintain version
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/libparserutils.nix | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index 338fc58146a95..91177b29e2ef9 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -2,4 +2,5 @@ lib.makeScope pkgs.newScope (self: with self; { buildsystem = callPackage ./buildsystem.nix { }; + libparserutils = callPackage ./libparserutils.nix { }; }) 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; + }; +} |