Netsurf libdom: 0.4.0 -> 0.4.1
This commit is contained in:
@@ -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 { };
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user