2016-06-22 08:28:40 +03:00
|
|
|
{ stdenv, fetchurl, perl
|
|
|
|
, buildsystem
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-09-28 08:54:15 +03:00
|
|
|
pname = "netsurf-${libname}";
|
2016-06-22 08:28:40 +03:00
|
|
|
libname = "libparserutils";
|
2019-07-25 03:10:40 +03:00
|
|
|
version = "0.2.4";
|
2016-06-22 08:28:40 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
|
2020-09-28 08:54:15 +03:00
|
|
|
sha256 = "sha256-MiuuYbMMzt4+MFv26uJBSSBkl3W8X/HRtogBKjxJR9g=";
|
2016-06-22 08:28:40 +03:00
|
|
|
};
|
|
|
|
|
2020-09-28 08:54:15 +03:00
|
|
|
buildInputs = [ perl buildsystem ];
|
2016-06-22 08:28:40 +03:00
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-09-28 08:54:15 +03:00
|
|
|
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
|
2016-06-22 08:28:40 +03:00
|
|
|
description = "Parser building library for netsurf browser";
|
2020-09-28 08:54:15 +03:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
|
2016-06-22 08:28:40 +03:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|