2023-10-09 19:29:22 +00:00
|
|
|
{ lib, buildPecl, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.0.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
in buildPecl {
|
|
|
|
inherit version;
|
|
|
|
pname = "opentelemetry";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-telemetry";
|
|
|
|
repo = "opentelemetry-php-instrumentation";
|
|
|
|
rev = version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-uCsm2vsxXfbEH9spCgWHhmqzyRH9k8kqIAIdQk5CNYg=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/ext";
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/${version}";
|
|
|
|
description = "OpenTelemetry PHP auto-instrumentation extension";
|
|
|
|
homepage = "https://opentelemetry.io/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ gaelreyrol ];
|
|
|
|
};
|
|
|
|
}
|