summaryrefslogtreecommitdiff
path: root/pkgs/development/php-packages/yaml/default.nix
blob: 1982ffd8d8c215355240528406190c86ea37309a (plain)
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
{
  buildPecl,
  lib,
  libyaml,
}:

buildPecl {
  pname = "yaml";

  version = "2.2.5";
  sha256 = "sha256-DHUbSJdJ+/AgcdWwxr/rJsS4Y8Zo74lxHs+VBzkb33E=";

  configureFlags = [ "--with-yaml=${libyaml.dev}" ];

  buildInputs = [
    libyaml
  ];

  meta = {
    description = "YAML-1.1 parser and emitter";
    license = lib.licenses.mit;
    homepage = "https://github.com/php/pecl-file_formats-yaml";
    teams = [ lib.teams.php ];
  };
}