Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPecl, curl, fetchFromGitHub, lib, pcre2, php }: 2 3buildPecl rec { 4 pname = "ddtrace"; 5 version = "0.82.0"; 6 7 src = fetchFromGitHub { 8 owner = "DataDog"; 9 repo = "dd-trace-php"; 10 rev = version; 11 sha256 = "sha256-QTqZRHh57mRkg0HT9qQS13emGobB0IRqM+mdImAPgtE="; 12 }; 13 14 buildInputs = [ curl pcre2 ]; 15 16 meta = with lib; { 17 description = "Datadog Tracing PHP Client"; 18 homepage = "https://github.com/DataDog/dd-trace-php"; 19 license = licenses.apsl20; 20 maintainers = teams.php.members; 21 }; 22}