2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
let
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.1.1";
|
2024-05-15 15:35:15 +00:00
|
|
|
in
|
|
|
|
buildPecl {
|
2023-01-11 07:51:40 +00:00
|
|
|
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}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-ulMLufhLf9E11Z6+rVBZ14CY3ILp/NrhMjRXmrUHnBA=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
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
|
|
|
}
|