depot/third_party/nixpkgs/pkgs/development/php-packages/datadog_trace/default.nix

23 lines
520 B
Nix
Raw Normal View History

{ 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;
};
}