3
0
Fork 0
forked from mirrors/nixpkgs

php.extensions.xdebug: update src attribute

So it can be automatically updated with `nix-update`
This commit is contained in:
Pol Dellaiera 2022-12-25 20:32:12 +01:00
parent 0ded0f9be1
commit 10e2de4210
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -1,10 +1,18 @@
{ buildPecl, lib }:
{ buildPecl, lib, fetchFromGitHub }:
let
version = "3.2.0";
in buildPecl {
inherit version;
buildPecl {
pname = "xdebug";
version = "3.2.0";
sha256 = "1drj00z8ididm2iw7a7pnrsvakrr1g0i49aqkyz5zpysxh7b4sbp";
src = fetchFromGitHub {
owner = "xdebug";
repo = "xdebug";
rev = version;
sha256 = "sha256-GQB69aETp8STyT4GHQQSPJBVEynWifbmGQXUeISvLRI=";
};
doCheck = true;
checkTarget = "test";
@ -12,6 +20,7 @@ buildPecl {
zendExtension = true;
meta = with lib; {
changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
description = "Provides functions for function traces and profiling";
license = licenses.php301;
homepage = "https://xdebug.org/";