2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
35 lines
673 B
Nix
35 lines
673 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, importlib-metadata
|
|
, jsonpickle
|
|
, wrapt
|
|
, requests
|
|
, future
|
|
, botocore
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aws-xray-sdk";
|
|
version = "2.12.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KVr8I3BzqAlW19TyfDGDDty5qMzKnviqRJkLre8V5bc=";
|
|
};
|
|
|
|
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;
|
|
}
|