2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
|
2016-10-20 20:16:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gumbo";
|
2016-10-20 20:16:03 +01:00
|
|
|
version = "0.10.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "gumbo-parser";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ autoconf automake libtool ];
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-10-20 20:16:03 +01:00
|
|
|
description = "C99 HTML parsing algorithm";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/google/gumbo-parser";
|
2016-10-20 20:16:03 +01:00
|
|
|
maintainers = [ maintainers.nico202 ];
|
2020-11-17 20:02:04 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2016-10-20 20:16:03 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|