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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
671 B
Nix
Raw Normal View History

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