1{ buildPecl, lib, pkg-config, libyaml }:
2
3buildPecl {
4 pname = "yaml";
5
6 version = "2.2.2";
7 sha256 = "sha256-EZBS8EYdV9hvRMJS+cmy3XQ0hscBwaCroK6+zdDYuCo=";
8
9 configureFlags = [ "--with-yaml=${libyaml}" ];
10
11 nativeBuildInputs = [ pkg-config ];
12
13 meta = with lib; {
14 description = "YAML-1.1 parser and emitter";
15 license = licenses.mit;
16 homepage = "https://bd808.com/pecl-file_formats-yaml/";
17 maintainers = teams.php.members;
18 };
19}