depot/third_party/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

56 lines
953 B
Nix

{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, callee
, fetchPypi
, mock
, pyjwt
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "3.23.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sXEWg6zrwMs8pCSloJtLL3o7ZAXTTiMXEgI7sDaogr4=";
};
propagatedBuildInputs = [
requests
pyjwt
];
checkInputs = [
aiohttp
aioresponses
callee
mock
pytestCheckHook
];
disabledTests = [
# Tries to ping websites (e.g. google.com)
"can_timeout"
"test_options_are_created_by_default"
"test_options_are_used_and_override"
];
pythonImportsCheck = [
"auth0"
];
meta = with lib; {
description = "Auth0 Python SDK";
homepage = "https://github.com/auth0/auth0-python";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
};
}