about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/php-packages/yaml/default.nix
blob: ef58b315faeec7dbc81f461d5089d8d9785dc6de (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.1";
  sha256 = "sha256-4XrQTnUuJf0Jm93S350m3+8YPI0AxBebydei4cl9eBk=";

  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;
  };
}