1{
2 buildPecl,
3 lib,
4 pkg-config,
5 libyaml,
6}:
7
8buildPecl {
9 pname = "yaml";
10
11 version = "2.2.3";
12 sha256 = "sha256-WTfrlyLd9tZGJnmc+gJFmP8kUuoVeZLk5nMxolP5AjY=";
13
14 configureFlags = [ "--with-yaml=${libyaml.dev}" ];
15
16 nativeBuildInputs = [
17 pkg-config
18 libyaml
19 ];
20
21 meta = {
22 description = "YAML-1.1 parser and emitter";
23 license = lib.licenses.mit;
24 homepage = "https://github.com/php/pecl-file_formats-yaml";
25 maintainers = lib.teams.php.members;
26 };
27}