nixpkgs/pkgs/development/libraries/gumbo/default.nix
Sergei Trofimovich 6f0fb013cd gumbo: fix depends for strictDeps = true
Without the change `config.strictDepsByDefault = true` fails build as:

    configuring
    libtoolize
    ./autogen.sh: line 29: libtoolize: not found
2022-06-21 22:35:53 +01:00

27 lines
671 B
Nix

{ lib, 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";
};
strictDeps = true;
nativeBuildInputs = [ autoconf automake libtool ];
preConfigure = "./autogen.sh";
meta = with lib; {
description = "C99 HTML parsing algorithm";
homepage = "https://github.com/google/gumbo-parser";
maintainers = [ maintainers.nico202 ];
platforms = with platforms; linux ++ darwin;
license = licenses.asl20;
};
}