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