19 buildPythonPackage rec {
20 pname = "social-auth-core";
22 format = "setuptools";
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
27 owner = "python-social-auth";
29 rev = "refs/tags/${version}";
30 hash = "sha256-o/qx3bwaj2fiNKM3fafFxOW27JrJ9jG4M4uSnnJDpes=";
33 propagatedBuildInputs = [
43 passthru.optional-dependencies = {
59 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
61 # Disable checking the code coverage
63 substituteInPlace social_core/tests/requirements.txt \
64 --replace "coverage>=3.6" "" \
65 --replace "pytest-cov>=2.7.1" ""
67 substituteInPlace tox.ini \
68 --replace "{posargs:-v --cov=social_core}" "{posargs:-v}"
71 pythonImportsCheck = [
76 description = "Module for social authentication/registration mechanisms";
77 homepage = "https://github.com/python-social-auth/social-core";
78 license = licenses.bsd3;
79 maintainers = with maintainers; [ n0emis ];