1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-08 11:35:37 +03:00

Merge branch 'master' into staging-next

This commit is contained in:
Martin Weinelt 2021-06-22 23:55:21 +02:00 committed by GitHub
commit b607aadaac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
129 changed files with 19303 additions and 13478 deletions

View file

@ -1,10 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, mock
, pyjwt
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "4a5a709a5d460ddc406783fa567d9baebba94687e2387be6405dba97482d4c93";
sha256 = "sha256-Slpwml1GDdxAZ4P6Vn2brrupRofiOHvmQF26l0gtTJM=";
};
propagatedBuildInputs = [
@ -23,23 +23,21 @@ buildPythonPackage rec {
checkInputs = [
mock
pyjwt
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 = [
# tries to ping websites (e.g. google.com)
"can_timeout"
];
pythonImportsCheck = [ "auth0" ];
meta = with lib; {
description = "Auth0 Python SDK";
homepage = "https://github.com/auth0/auth0-python";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}