depot/third_party/nixpkgs/pkgs/development/python-modules/aws-xray-sdk/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

35 lines
675 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
, jsonpickle
, wrapt
, requests
, future
, botocore
}:
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-mxSST9BijPkpNgVYZGVTVAA/CxrMPhw//eZAPQeZ3Xo=";
};
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;
}