nixpkgs/pkgs/development/libraries/gumbo/default.nix

26 lines
638 B
Nix
Raw Normal View History

2016-10-20 21:16:03 +02:00
{ stdenv, fetchFromGitHub, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
2018-01-21 14:29:45 +01:00
name = "gumbo-${version}";
2016-10-20 21:16:03 +02:00
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 ];
platforms = platforms.linux;
license = licenses.asl20;
};
}