0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
35 lines
675 B
Nix
35 lines
675 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, importlib-metadata
|
|
, jsonpickle
|
|
, wrapt
|
|
, requests
|
|
, future
|
|
, botocore
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aws-xray-sdk";
|
|
version = "2.11.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-eINfyEHwPlUIWPGKmXPquGGPR/ItL1nt8TBXj6VFqGc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
jsonpickle wrapt requests future botocore
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
importlib-metadata
|
|
];
|
|
|
|
meta = {
|
|
description = "AWS X-Ray SDK for the Python programming language";
|
|
license = lib.licenses.asl20;
|
|
homepage = "https://github.com/aws/aws-xray-sdk-python";
|
|
};
|
|
|
|
doCheck = false;
|
|
}
|