3
0
Fork 0
forked from mirrors/nixpkgs

php.extensions.ast: update src attribute

So it can be automatically updated with `nix-update`
This commit is contained in:
Pol Dellaiera 2022-12-25 21:18:57 +01:00
parent 51e1f61039
commit 4557de0309
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -1,12 +1,20 @@
{ buildPecl, lib }:
{ buildPecl, lib, fetchFromGitHub }:
buildPecl {
let
version = "1.1.0";
in buildPecl {
inherit version;
pname = "ast";
version = "1.1.0";
sha256 = "sha256-7j1PZ+JNguTTQIBqJAUgEuSVTSIxIpSTd2ZUJ0Q+bRM=";
src = fetchFromGitHub {
owner = "nikic";
repo = "php-ast";
rev = "v${version}";
sha256 = "sha256-e9J6O4A+8xRBlR9m4OK1kTVpzgzsviD0Eqi0iY4AgkY=";
};
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";