1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/auth0-python/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1 KiB
Nix
Raw Normal View History

{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, callee
, fetchPypi
, mock
, pyjwt
2020-06-16 13:39:28 -07:00
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "auth0-python";
version = "4.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Yf8/NmQygdikQXv9sUukQEKKd+FcpSPnGbbi8kzVyLo=";
};
propagatedBuildInputs = [
requests
pyjwt
] ++ pyjwt.optional-dependencies.crypto;
nativeCheckInputs = [
aiohttp
aioresponses
callee
mock
2020-06-16 13:39:28 -07:00
pytestCheckHook
];
disabledTests = [
# Tries to ping websites (e.g. google.com)
2020-06-16 13:39:28 -07:00
"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";
changelog = "https://github.com/auth0/auth0-python/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}