diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 03:43:38 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2020-09-28 22:39:18 -0300 |
commit | ed204dc61bf393683c15286c312e4b0ec1ef770a (patch) | |
tree | 4f8d711d4d2b8f08200ea7ab71134d30648ced66 /pkgs/applications/networking/browsers | |
parent | 486a3fb5569a9503eb5399103ae6213192b6bf81 (diff) |
Netsurf libdom: 0.4.0 -> 0.4.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/libdom.nix | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/netsurf/default.nix b/pkgs/applications/networking/browsers/netsurf/default.nix index 7aa18f514fb18..0698642af00d4 100644 --- a/pkgs/applications/networking/browsers/netsurf/default.nix +++ b/pkgs/applications/networking/browsers/netsurf/default.nix @@ -3,6 +3,7 @@ lib.makeScope pkgs.newScope (self: with self; { buildsystem = callPackage ./buildsystem.nix { }; libcss = callPackage ./libcss.nix { }; + libdom = callPackage ./libdom.nix { }; libhubbub = callPackage ./libhubbub.nix { }; libnsbmp = callPackage ./libnsbmp.nix { }; libnsgif = callPackage ./libnsgif.nix { }; diff --git a/pkgs/applications/networking/browsers/netsurf/libdom.nix b/pkgs/applications/networking/browsers/netsurf/libdom.nix new file mode 100644 index 0000000000000..3aa9e3a1878e4 --- /dev/null +++ b/pkgs/applications/networking/browsers/netsurf/libdom.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchurl, pkgconfig, expat +, buildsystem +, libparserutils +, libwapcaplet +, libhubbub +}: + +stdenv.mkDerivation rec { + pname = "netsurf-${libname}"; + libname = "libdom"; + version = "0.4.1"; + + src = fetchurl { + url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz"; + sha256 = "sha256-mO4HJHHlXiCMmHjlFcQQrUYso2+HtK/L7K0CPzos70o="; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ + expat + 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 = "Document Object Model library for netsurf browser"; + longDescription = '' + LibDOM is an implementation of the W3C DOM, written in C. It is currently + in development for use with NetSurf and is intended to be suitable for use + in other projects under a more permissive license. + ''; + license = licenses.mit; + maintainers = [ maintainers.vrthra maintainers.AndersonTorres ]; + platforms = platforms.linux; + }; +} |