nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 75 lines 1.4 kB view raw
1{ 2 lib, 3 aiohttp, 4 botocore, 5 bottle, 6 buildPythonPackage, 7 django, 8 fetchFromGitHub, 9 httpx, 10 jsonpickle, 11 pymysql, 12 pytest-asyncio_0, 13 pynamodb, 14 pytestCheckHook, 15 requests, 16 setuptools, 17 sqlalchemy, 18 webtest, 19 wrapt, 20}: 21 22buildPythonPackage rec { 23 pname = "aws-xray-sdk"; 24 version = "2.15.0"; 25 pyproject = true; 26 27 src = fetchFromGitHub { 28 owner = "aws"; 29 repo = "aws-xray-sdk-python"; 30 tag = version; 31 hash = "sha256-Zu2+awB6Ynxp6hkY1bB1f6u+KpDvCcoGxDWanSH+yBY="; 32 }; 33 34 nativeBuildInputs = [ setuptools ]; 35 36 propagatedBuildInputs = [ 37 botocore 38 jsonpickle 39 requests 40 wrapt 41 ]; 42 43 nativeCheckInputs = [ 44 aiohttp 45 bottle 46 django 47 httpx 48 pymysql 49 pynamodb 50 pytest-asyncio_0 51 pytestCheckHook 52 sqlalchemy 53 webtest 54 ]; 55 56 disabledTestPaths = [ 57 # This reduces the amount of dependencies 58 "tests/ext/" 59 # We don't care about benchmarks 60 "tests/test_local_sampling_benchmark.py" 61 "tests/test_patcher.py" 62 # async def functions are not natively supported. 63 "tests/test_async_recorder.py" 64 ]; 65 66 pythonImportsCheck = [ "aws_xray_sdk" ]; 67 68 meta = { 69 description = "AWS X-Ray SDK for the Python programming language"; 70 homepage = "https://github.com/aws/aws-xray-sdk-python"; 71 changelog = "https://github.com/aws/aws-xray-sdk-python/blob/${src.tag}/CHANGELOG.rst"; 72 license = lib.licenses.asl20; 73 maintainers = [ ]; 74 }; 75}