24 buildPythonPackage rec {
25 pname = "aws-xray-sdk";
29 disabled = pythonOlder "3.7";
31 src = fetchFromGitHub {
33 repo = "aws-xray-sdk-python";
34 rev = "refs/tags/${version}";
35 hash = "sha256-rWP0yQ+Ril0UByOCWJKcL3mD7TvzK8Ddq9JlFIRBFU4=";
38 nativeBuildInputs = [ setuptools ];
40 propagatedBuildInputs = [
45 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
61 # This reduces the amount of dependencies
63 # We don't care about benchmarks
64 "tests/test_local_sampling_benchmark.py"
65 "tests/test_patcher.py"
68 pythonImportsCheck = [ "aws_xray_sdk" ];
71 description = "AWS X-Ray SDK for the Python programming language";
72 homepage = "https://github.com/aws/aws-xray-sdk-python";
73 changelog = "https://github.com/aws/aws-xray-sdk-python/blob/${version}/CHANGELOG.rst";
74 license = licenses.asl20;