3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/netsurf/libparserutils.nix

30 lines
778 B
Nix
Raw Normal View History

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