2022-11-21 17:40:18 +00:00
|
|
|
{ buildPecl, curl, fetchFromGitHub, lib, pcre2, php }:
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
buildPecl rec {
|
|
|
|
pname = "ddtrace";
|
|
|
|
version = "0.70.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DataDog";
|
|
|
|
repo = "dd-trace-php";
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = version;
|
2022-04-15 01:41:22 +00:00
|
|
|
sha256 = "sha256-AYRBzE0Detg/IHXYutZUfPRMtfthxdkSjqD0M+VcTpY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ curl pcre2 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-11-21 17:40:18 +00:00
|
|
|
broken = lib.versionOlder php.version "8.1"; # Broken on PHP older than 8.1.
|
2022-04-15 01:41:22 +00:00
|
|
|
description = "Datadog Tracing PHP Client";
|
|
|
|
homepage = "https://github.com/DataDog/dd-trace-php";
|
|
|
|
license = licenses.apsl20;
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
|
|
|
}
|