about summary refs log tree commit diff
path: root/pkgs/development/php-packages/yaml/default.nix
blob: e3fec9a5d885652afc0bb06a00f9c95d800ad694 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  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;
  };
}