3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/auth0-python/default.nix

44 lines
812 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, requests
, mock
2020-06-16 21:39:28 +01:00
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "auth0-python";
2020-08-16 18:30:50 +01:00
version = "3.12.0";
src = fetchPypi {
inherit pname version;
2020-08-16 18:30:50 +01:00
sha256 = "fbc54a231ca787ae0917223028269582abbd963cfa9d53ba822a601dd9cd2215";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
mock
2020-06-16 21:39:28 +01:00
pytestCheckHook
];
pytestFlagsArray = [
# jwt package is not available in nixpkgs
"--ignore=auth0/v3/test/authentication/test_token_verifier.py"
];
# tries to ping websites (e.g. google.com)
disabledTests = [
"can_timeout"
];
meta = with lib; {
description = "Auth0 Python SDK";
homepage = "https://github.com/auth0/auth0-python";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}