1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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;
};
}