mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
34 lines
742 B
Nix
34 lines
742 B
Nix
{
|
|
lib,
|
|
buildPecl,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
let
|
|
version = "1.2.1";
|
|
in
|
|
buildPecl rec {
|
|
inherit version;
|
|
pname = "opentelemetry";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "open-telemetry";
|
|
repo = "opentelemetry-php-instrumentation";
|
|
rev = version;
|
|
hash = "sha256-zUrcikGB3O44ihcw2zOAhInfgF+sXT+Xl2lF7XJphzY=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/ext";
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-parentheses-equality";
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/${version}";
|
|
description = "OpenTelemetry PHP auto-instrumentation extension";
|
|
homepage = "https://opentelemetry.io/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|