forked from mirrors/nixpkgs
phpExtensions.opentelemetry: init at 1.0.0beta6
This commit is contained in:
parent
adbbbf0d1f
commit
72069257bf
25
pkgs/development/php-packages/opentelemetry/default.nix
Normal file
25
pkgs/development/php-packages/opentelemetry/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue