From ccbe89a14b5318954a4ab22f29efd5feac0524ef Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 8 Jun 2020 13:40:18 -0700 Subject: [PATCH] python37Packages.aws-xray-sdk: fix dependencies --- pkgs/development/python-modules/aws-xray-sdk/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/aws-xray-sdk/default.nix b/pkgs/development/python-modules/aws-xray-sdk/default.nix index 6364fe77f11b..607118564c5a 100644 --- a/pkgs/development/python-modules/aws-xray-sdk/default.nix +++ b/pkgs/development/python-modules/aws-xray-sdk/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder +, importlib-metadata , jsonpickle , wrapt , requests @@ -19,6 +21,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ jsonpickle wrapt requests future botocore + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata ]; meta = {