diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:19:39 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:16 -0300 |
commit | 88ef1ffe46125b01eefcf7f0f9b8a42f90907354 (patch) | |
tree | 8d291a02222beeaeaa3cd1ba84751504986c55b5 /pkgs/applications/networking/browsers | |
parent | d1e5d5012fdad05935662ef47865ad956db4ed53 (diff) |
Netsurf libnspsl: 0.1.5 -> 0.1.6
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/libnspsl.nix | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index db55e40265757..6c35be4c8da9e 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -5,5 +5,6 @@ lib.makeScope pkgs.newScope (self: with self; { libnsbmp = callPackage ./libnsbmp.nix { }; libnsgif = callPackage ./libnsgif.nix { }; libnslog = callPackage ./libnslog.nix { }; + libnspsl = callPackage ./libnspsl.nix { }; libparserutils = callPackage ./libparserutils.nix { }; }) diff --git a/pkgs/applications/networking/browsers/netsurf/libnspsl.nix b/pkgs/applications/networking/browsers/netsurf/libnspsl.nix new file mode 100644 index 0000000000000..4338f78247c75 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libnspsl.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig +, buildsystem +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libnspsl"; + version = "0.1.6"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-08WCBct40xC/gcpVNHotCYcZzsrHBGvDZ5g7E4tFAgs="; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/"; + description = "NetSurf Public Suffix List - Handling library"; + license = licenses.mit; + maintainers = [ maintainers.samueldr maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |