diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:26:51 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:16 -0300 |
commit | fc5cb71883bef2f792f6fb2051c126ccd686df90 (patch) | |
tree | 54bcfb96e4540243d03897f2fad3e1fa605e3dc6 /pkgs/applications/networking/browsers | |
parent | 91f818b2be8ada0617e0f79c554d32fe93ac9dd8 (diff) |
Netsurf libutf8proc: 2.4.0-1
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/libutf8proc.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 861081077a84b..a7465c0fda9d7 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -8,4 +8,5 @@ lib.makeScope pkgs.newScope (self: with self; { libnspsl = callPackage ./libnspsl.nix { }; libnsutils = callPackage ./libnsutils.nix { }; libparserutils = callPackage ./libparserutils.nix { }; + libutf8proc = callPackage ./libutf8proc.nix { }; }) diff --git a/pkgs/applications/networking/browsers/netsurf/libutf8proc.nix b/pkgs/applications/networking/browsers/netsurf/libutf8proc.nix new file mode 100644 index 0000000000000..59bae9e941eb1 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libutf8proc.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig +, buildsystem +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libutf8proc"; + version = "2.4.0-1"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-AasdaYnBx3VQkNskw/ZOSflcVgrknCa+xRQrrGgCxHI="; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; + description = "UTF8 Processing library for netsurf browser"; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |