at 18.03-beta 25 lines 638 B view raw
1{ stdenv, fetchFromGitHub, autoconf, automake, libtool }: 2 3stdenv.mkDerivation rec { 4 name = "gumbo-${version}"; 5 version = "0.10.1"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "gumbo-parser"; 10 rev = "v${version}"; 11 sha256 = "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"; 12 }; 13 14 buildInputs = [ autoconf automake libtool ]; 15 16 preConfigure = "./autogen.sh"; 17 18 meta = with stdenv.lib; { 19 description = "C99 HTML parsing algorithm"; 20 homepage = https://github.com/google/gumbo-parser; 21 maintainers = [ maintainers.nico202 ]; 22 platforms = platforms.linux; 23 license = licenses.asl20; 24 }; 25}