depot/third_party/nixpkgs/pkgs/development/python-modules/auth0-python/default.nix
Default email 792b51d22f Project import generated by Copybara.
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
2022-02-20 05:27:41 +00:00

50 lines
881 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, mock
, pyjwt
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "3.20.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-WIH2lMPehrqkXCh+JbEI5nf99nt61OwLhP/pF6BbsnQ=";
};
propagatedBuildInputs = [
requests
pyjwt
];
checkInputs = [
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 ];
};
}