diff --git a/pkgs/development/python-modules/django-allauth/default.nix b/pkgs/development/python-modules/django-allauth/default.nix index 591d41a960cc..16d3e88b2115 100644 --- a/pkgs/development/python-modules/django-allauth/default.nix +++ b/pkgs/development/python-modules/django-allauth/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "django-allauth"; - version = "0.47.0"; + version = "0.50.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,18 +19,27 @@ buildPythonPackage rec { owner = "pennersr"; repo = pname; rev = version; - hash = "sha256-wKrsute6TCl331UrxNEBf/zTtGnyGHsOZQwdiicbg2o="; + hash = "sha256-O6KEDt+Z1MJUvKXQJILqLRgNj+ZrCZjlb3CJHpRL1Kk="; }; + postPatch = '' + chmod +x manage.py + patchShebangs manage.py + ''; + propagatedBuildInputs = [ - requests - requests-oauthlib django python3-openid + requests + requests-oauthlib ]; - # Tests requires a Django instance - doCheck = false; + checkPhase = '' + # test is out of date + rm allauth/socialaccount/providers/cern/tests.py + + ./manage.py test + ''; pythonImportsCheck = [ "allauth" @@ -40,6 +49,6 @@ buildPythonPackage rec { description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication"; homepage = "https://www.intenct.nl/projects/django-allauth"; license = licenses.mit; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ SuperSandro2000 ]; }; }