2016-06-22 06:31:00 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, perl
|
|
|
|
, buildsystem
|
|
|
|
, libparserutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "netsurf-${libname}-${version}";
|
|
|
|
libname = "libhubbub";
|
2019-07-25 01:08:56 +01:00
|
|
|
version = "0.3.6";
|
2016-06-22 06:31:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2019-07-25 01:08:56 +01:00
|
|
|
sha256 = "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp";
|
2016-06-22 06:31:00 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ perl
|
2016-06-22 06:31:00 +01:00
|
|
|
buildsystem
|
|
|
|
libparserutils
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.netsurf-browser.org/";
|
2016-06-22 06:31:00 +01:00
|
|
|
description = "HTML5 parser library for netsurf browser";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.vrthra ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|