nixpkgs/pkgs/development/php-packages/yaml/default.nix
2023-06-30 08:23:51 +02:00

20 lines
466 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;
};
}