2023-01-11 07:51:40 +00:00
|
|
|
{ buildPecl, lib, fetchFromGitHub }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
let
|
|
|
|
version = "1.1.0";
|
|
|
|
in buildPecl {
|
|
|
|
inherit version;
|
2020-10-16 20:44:37 +00:00
|
|
|
pname = "ast";
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nikic";
|
|
|
|
repo = "php-ast";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-e9J6O4A+8xRBlR9m4OK1kTVpzgzsviD0Eqi0iY4AgkY=";
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/nikic/php-ast/releases/tag/v${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "Exposes the abstract syntax tree generated by PHP";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://pecl.php.net/package/ast";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|