2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
pkg-config,
|
|
|
|
libyaml,
|
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "yaml";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.2.3";
|
|
|
|
sha256 = "sha256-WTfrlyLd9tZGJnmc+gJFmP8kUuoVeZLk5nMxolP5AjY=";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
configureFlags = [ "--with-yaml=${libyaml.dev}" ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
libyaml
|
|
|
|
];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
meta = {
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "YAML-1.1 parser and emitter";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/php/pecl-file_formats-yaml";
|
|
|
|
maintainers = lib.teams.php.members;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|