2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-15 15:56:04 +00:00
|
|
|
, pythonOlder
|
|
|
|
, importlib-metadata
|
2020-04-24 23:36:52 +00:00
|
|
|
, jsonpickle
|
|
|
|
, wrapt
|
|
|
|
, requests
|
|
|
|
, future
|
|
|
|
, botocore
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aws-xray-sdk";
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "2.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "b0cd972db218d4d8f7b53ad806fc6184626b924c4997ae58fc9f2a8cd1281568";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jsonpickle wrapt requests future botocore
|
2020-06-15 15:56:04 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
|
|
importlib-metadata
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|