77031e5309
Fixes the build with PHP 8.2 and 8.0 https://github.com/DataDog/dd-trace-php/releases/tag/0.82.0 https://github.com/DataDog/dd-trace-php/releases/tag/0.81.1 https://github.com/DataDog/dd-trace-php/releases/tag/0.81.0 https://github.com/DataDog/dd-trace-php/releases/tag/0.80.0 https://github.com/DataDog/dd-trace-php/releases/tag/0.79.0 https://github.com/DataDog/dd-trace-php/releases/tag/0.78.0
22 lines
520 B
Nix
22 lines
520 B
Nix
{ buildPecl, curl, fetchFromGitHub, lib, pcre2, php }:
|
|
|
|
buildPecl rec {
|
|
pname = "ddtrace";
|
|
version = "0.82.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "DataDog";
|
|
repo = "dd-trace-php";
|
|
rev = version;
|
|
sha256 = "sha256-QTqZRHh57mRkg0HT9qQS13emGobB0IRqM+mdImAPgtE=";
|
|
};
|
|
|
|
buildInputs = [ curl pcre2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Datadog Tracing PHP Client";
|
|
homepage = "https://github.com/DataDog/dd-trace-php";
|
|
license = licenses.apsl20;
|
|
maintainers = teams.php.members;
|
|
};
|
|
}
|