depot/pkgs/development/php-packages/ast/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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