diff options
Diffstat (limited to 'pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix | 39 |
1 files changed, 39 insertions, 0 deletions
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; + }; +} |