nixpkgs/pkgs/applications/networking/browsers/netsurf/libparserutils.nix

30 lines
780 B
Nix
Raw Normal View History

2016-06-22 08:28:40 +03:00
{ stdenv, fetchurl, perl
, buildsystem
}:
stdenv.mkDerivation rec {
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";
sha256 = "sha256-MiuuYbMMzt4+MFv26uJBSSBkl3W8X/HRtogBKjxJR9g=";
2016-06-22 08:28:40 +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; {
homepage = "https://www.netsurf-browser.org/projects/${libname}/";
2016-06-22 08:28:40 +03:00
description = "Parser building library for netsurf browser";
license = licenses.mit;
maintainers = [ maintainers.vrthra maintainers.AndersonTorres ];
2016-06-22 08:28:40 +03:00
platforms = platforms.linux;
};
}