diff --git a/pkgs/development/python-modules/paypalrestsdk/default.nix b/pkgs/development/python-modules/paypalrestsdk/default.nix index 0562be6ee739..43061b4eeab2 100644 --- a/pkgs/development/python-modules/paypalrestsdk/default.nix +++ b/pkgs/development/python-modules/paypalrestsdk/default.nix @@ -1,16 +1,40 @@ -{ buildPythonPackage, fetchPypi -, requests, six, pyopenssl }: +{ buildPythonPackage +, fetchPypi + +# build-system +, setuptools + +# dependencies +, pyopenssl +, requests +, six +}: buildPythonPackage rec { pname = "paypalrestsdk"; version = "1.13.2"; + pyproject = true; src = fetchPypi { inherit pname version; sha256 = "sha256-kZUfNtsw1oW5ceFASYSRo1bPHfjv9xZWYDrKTtcs81o="; }; - propagatedBuildInputs = [ requests six pyopenssl ]; + build-system = [ + setuptools + ]; + + dependencies = [ + pyopenssl + requests + six + ]; + + doCheck = false; # no tests + + pythonImportsCheck = [ + "paypalrestsdk" + ]; meta = { homepage = "https://developer.paypal.com/";