Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
28 lines
583 B
Nix
28 lines
583 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
let
|
|
version = "1.1.2";
|
|
in
|
|
buildPecl {
|
|
inherit version;
|
|
pname = "ast";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nikic";
|
|
repo = "php-ast";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-9HP+hKcpkWmvsx335JiCVjFG+xyAMEm5dWxWC1nZPxU=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/nikic/php-ast/releases/tag/v${version}";
|
|
description = "Exposes the abstract syntax tree generated by PHP";
|
|
license = licenses.bsd3;
|
|
homepage = "https://pecl.php.net/package/ast";
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|