about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/php-packages/yaml/default.nix
blob: d4803c9d21ac7a564be21b4e4482e4154c67a374 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ buildPecl, lib, pkg-config, libyaml }:

buildPecl {
  pname = "yaml";

  version = "2.2.2";
  sha256 = "sha256-EZBS8EYdV9hvRMJS+cmy3XQ0hscBwaCroK6+zdDYuCo=";

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

  nativeBuildInputs = [ pkg-config ];

  meta = with lib; {
    description = "YAML-1.1 parser and emitter";
    license = licenses.mit;
    homepage = "http://bd808.com/pecl-file_formats-yaml/";
    maintainers = teams.php.members;
  };
}