depot/third_party/nixpkgs/pkgs/development/libraries/gumbo/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
644 B
Nix

{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
pname = "gumbo";
version = "0.10.1";
src = fetchFromGitHub {
owner = "google";
repo = "gumbo-parser";
rev = "v${version}";
sha256 = "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1";
};
buildInputs = [ autoconf automake libtool ];
preConfigure = "./autogen.sh";
meta = with lib; {
description = "C99 HTML parsing algorithm";
homepage = "https://github.com/google/gumbo-parser";
maintainers = [ maintainers.nico202 ];
platforms = with platforms; linux ++ darwin;
license = licenses.asl20;
};
}