nixpkgs-suyu/pkgs/development/python-modules/auth0-python/default.nix

44 lines
730 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, mock
, pyjwt
2020-06-16 22:39:28 +02:00
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "3.16.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Slpwml1GDdxAZ4P6Vn2brrupRofiOHvmQF26l0gtTJM=";
};
propagatedBuildInputs = [
requests
pyjwt
];
checkInputs = [
mock
pyjwt
2020-06-16 22:39:28 +02:00
pytestCheckHook
];
disabledTests = [
# tries to ping websites (e.g. google.com)
2020-06-16 22:39:28 +02:00
"can_timeout"
];
pythonImportsCheck = [ "auth0" ];
meta = with lib; {
description = "Auth0 Python SDK";
homepage = "https://github.com/auth0/auth0-python";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
};
}