mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #173548 from SuperSandro2000/django-allauth
python310Packages.django-allauth: 0.47.0 -> 0.50.0, adopt
This commit is contained in:
commit
47550f7bc8
1 changed files with 16 additions and 7 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue