Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPecl, 3 lib, 4 libyaml, 5}: 6 7buildPecl { 8 pname = "yaml"; 9 10 version = "2.2.4"; 11 sha256 = "sha256-jrNTuvh/FbG2Ksbrcci1iWhZWKH+iw49IqxZVg0OiRM="; 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}