3
0
Fork 0
forked from mirrors/nixpkgs

phpExtensions.opentelemetry: init at 1.0.0beta6

This commit is contained in:
Gaël Reyrol 2023-08-26 10:14:07 +02:00
parent adbbbf0d1f
commit 72069257bf
No known key found for this signature in database
GPG key ID: DFB9B69A2C427F61
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPecl, fetchFromGitHub }:
let
version = "1.0.0beta6";
in buildPecl {
inherit version;
pname = "opentelemetry";
src = fetchFromGitHub {
owner = "open-telemetry";
repo = "opentelemetry-php-instrumentation";
rev = version;
hash = "sha256-dbyFb+Wh4thbnwASgPuQ4ceeke6NDMFLvNXjp66hLCM=";
};
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 ];
};
}

View file

@ -254,6 +254,8 @@ lib.makeScope pkgs.newScope (self: with self; {
oci8 = callPackage ../development/php-packages/oci8 { };
opentelemetry = callPackage ../development/php-packages/opentelemetry { };
openswoole = callPackage ../development/php-packages/openswoole { };
pdlib = callPackage ../development/php-packages/pdlib { };