nixpkgs/pkgs/development/php-packages/ast/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
583 B
Nix
Raw Normal View History

{
buildPecl,
lib,
fetchFromGitHub,
}:
let
2024-08-11 01:36:17 +00:00
version = "1.1.2";
in
buildPecl {
inherit version;
pname = "ast";
src = fetchFromGitHub {
owner = "nikic";
repo = "php-ast";
rev = "v${version}";
2024-08-11 01:36:17 +00:00
sha256 = "sha256-9HP+hKcpkWmvsx335JiCVjFG+xyAMEm5dWxWC1nZPxU=";
};
2021-06-08 09:50:05 +00:00
meta = with lib; {
changelog = "https://github.com/nikic/php-ast/releases/tag/v${version}";
2021-06-08 09:50:05 +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;
};
}