1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 18:16:21 +03:00
nixpkgs/pkgs/development/python-modules/aws-xray-sdk/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
687 B
Nix
Raw Normal View History

2017-12-30 18:11:19 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-metadata
2017-12-30 18:11:19 +01:00
, jsonpickle
, wrapt
, requests
2018-04-04 20:01:53 +02:00
, future
2018-11-24 14:16:22 +01:00
, botocore
2017-12-30 18:11:19 +01:00
}:
buildPythonPackage rec {
pname = "aws-xray-sdk";
version = "2.9.0";
2017-12-30 18:11:19 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "b0cd972db218d4d8f7b53ad806fc6184626b924c4997ae58fc9f2a8cd1281568";
2017-12-30 18:11:19 +01:00
};
propagatedBuildInputs = [
2018-11-24 14:16:22 +01:00
jsonpickle wrapt requests future botocore
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
2017-12-30 18:11:19 +01:00
];
meta = {
description = "AWS X-Ray SDK for the Python programming language";
license = lib.licenses.asl20;
homepage = "https://github.com/aws/aws-xray-sdk-python";
2017-12-30 18:11:19 +01:00
};
doCheck = false;
}