2020-04-24 23:36:52 +00:00
|
|
|
{ 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 stdenv.lib; {
|
|
|
|
description = "C99 HTML parsing algorithm";
|
|
|
|
homepage = "https://github.com/google/gumbo-parser";
|
|
|
|
maintainers = [ maintainers.nico202 ];
|
2020-11-19 00:13:47 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|