2019-07-25 02:06:31 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gperf
|
|
|
|
, buildsystem
|
|
|
|
, libdom
|
|
|
|
, libhubbub
|
|
|
|
, libparserutils
|
|
|
|
, libwapcaplet
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-28 07:45:02 +01:00
|
|
|
pname = "netsurf-${libname}";
|
2019-07-25 02:06:31 +01:00
|
|
|
libname = "libsvgtiny";
|
|
|
|
version = "0.1.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2020-09-28 07:45:02 +01:00
|
|
|
sha256 = "sha256-LA3PlS8c2ILD6VQB75RZ8W27U8XT5FEjObL563add4E=";
|
2019-07-25 02:06:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig gperf ];
|
|
|
|
buildInputs = [
|
|
|
|
libdom
|
|
|
|
libhubbub
|
|
|
|
libparserutils
|
|
|
|
libwapcaplet
|
2020-09-28 07:45:02 +01:00
|
|
|
buildsystem ];
|
2019-07-25 02:06:31 +01:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-09-28 07:45:02 +01:00
|
|
|
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
2019-07-25 02:06:31 +01:00
|
|
|
description = "NetSurf SVG decoder";
|
|
|
|
license = licenses.mit;
|
2020-09-28 07:45:02 +01:00
|
|
|
maintainers = [ maintainers.samueldr maintainers.AndersonTorres ];
|
2019-07-25 02:06:31 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|