3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/netsurf/libparserutils/default.nix
2020-04-10 17:54:53 +01:00

31 lines
745 B
Nix

{ stdenv, fetchurl, perl
, buildsystem
}:
stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libparserutils";
version = "0.2.4";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
sha256 = "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj";
};
buildInputs = [ buildsystem perl ];
makeFlags = [
"PREFIX=$(out)"
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
meta = with stdenv.lib; {
homepage = "http://www.netsurf-browser.org/";
description = "Parser building library for netsurf browser";
license = licenses.gpl2;
maintainers = [ maintainers.vrthra ];
platforms = platforms.linux;
};
}