diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:45:02 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:18 -0300 |
commit | a5c9ce767b1eba17da40a7cf952831fd3448329b (patch) | |
tree | 3277fb38afd767607fc6fed7717ffec48eb3042c /pkgs/applications/networking/browsers | |
parent | ed204dc61bf393683c15286c312e4b0ec1ef770a (diff) |
Netsurf libsvgtiny: 0.1.7 -> 0.1.7
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/libsvgtiny.nix | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index 0698642af00d4..6f2569548ed5d 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -11,6 +11,7 @@ lib.makeScope pkgs.newScope (self: with self; { libnspsl = callPackage ./libnspsl.nix { }; libnsutils = callPackage ./libnsutils.nix { }; libparserutils = callPackage ./libparserutils.nix { }; + libsvgtiny = callPackage ./libsvgtiny.nix { }; libutf8proc = callPackage ./libutf8proc.nix { }; libwapcaplet = callPackage ./libwapcaplet.nix { }; nsgenbind = callPackage ./nsgenbind.nix { }; diff --git a/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix new file mode 100644 index 0000000000000..aef154bbc17cd --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchurl, pkgconfig, gperf +, buildsystem +, libdom +, libhubbub +, libparserutils +, libwapcaplet +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libsvgtiny"; + version = "0.1.7"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-LA3PlS8c2ILD6VQB75RZ8W27U8XT5FEjObL563add4E="; + }; + + nativeBuildInputs = [ pkgconfig gperf ]; + buildInputs = [ + libdom + libhubbub + libparserutils + libwapcaplet + buildsystem ]; + + makeFlags = [ + "PREFIX=$(out)" + "NSSHARED=${buildsystem}/share/netsurf-buildsystem" + ]; + + meta = with stdenv.lib; { + homepage = "https://www.netsurf-browser.org/projects/${libname}/"; + description = "NetSurf SVG decoder"; + license = licenses.mit; + maintainers = [ maintainers.samueldr maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |