depot/pkgs/development/php-packages/yaml/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
485 B
Nix

{
buildPecl,
lib,
pkg-config,
libyaml,
}:
buildPecl {
pname = "yaml";
version = "2.2.3";
sha256 = "sha256-WTfrlyLd9tZGJnmc+gJFmP8kUuoVeZLk5nMxolP5AjY=";
configureFlags = [ "--with-yaml=${libyaml.dev}" ];
nativeBuildInputs = [
pkg-config
libyaml
];
meta = {
description = "YAML-1.1 parser and emitter";
license = lib.licenses.mit;
homepage = "https://github.com/php/pecl-file_formats-yaml";
maintainers = lib.teams.php.members;
};
}