2017-12-30 17:11:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-08 21:40:18 +01:00
|
|
|
, pythonOlder
|
|
|
|
, importlib-metadata
|
2017-12-30 17:11:19 +00:00
|
|
|
, jsonpickle
|
|
|
|
, wrapt
|
|
|
|
, requests
|
2018-04-04 19:01:53 +01:00
|
|
|
, future
|
2018-11-24 13:16:22 +00:00
|
|
|
, botocore
|
2017-12-30 17:11:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aws-xray-sdk";
|
2020-06-06 07:46:58 +01:00
|
|
|
version = "2.5.0";
|
2017-12-30 17:11:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:46:58 +01:00
|
|
|
sha256 = "8dfa785305fc8dc720d8d4c2ec6a58e85e467ddc3a53b1506a2ed8b5801c8fc7";
|
2017-12-30 17:11:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-11-24 13:16:22 +00:00
|
|
|
jsonpickle wrapt requests future botocore
|
2020-06-08 21:40:18 +01:00
|
|
|
] ++ lib.optionals (pythonOlder "3.8") [
|
|
|
|
importlib-metadata
|
2017-12-30 17:11:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "AWS X-Ray SDK for the Python programming language";
|
|
|
|
license = lib.licenses.asl20;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/aws/aws-xray-sdk-python";
|
2017-12-30 17:11:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|