python.pkgs.django-allauth: init at 0.36.0

This commit is contained in:
Robin Gloster 2018-05-24 16:03:03 +02:00
parent 2e41891e6d
commit 6b29b2c3aa
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
, django, python-openid, mock, coverage }:
buildPythonPackage rec {
pname = "django-allauth";
name = "${pname}-${version}";
version = "0.36.0";
# no tests on PyPI
src = fetchFromGitHub {
owner = "pennersr";
repo = pname;
rev = version;
sha256 = "1c863cmd521j6cwpyd50jxz5y62fdschrhm15jfqihicyr9imjan";
};
propagatedBuildInputs = [ requests requests_oauthlib django python-openid ];
checkInputs = [ coverage mock ];
doCheck = false;
checkPhase = ''
cd $NIX_BUILD_TOP/$sourceRoot
coverage run manage.py test allauth
'';
meta = with stdenv.lib; {
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;
};
}

View File

@ -4713,6 +4713,8 @@ in {
};
};
django-allauth = callPackage ../development/python-modules/django-allauth { };
django_appconf = callPackage ../development/python-modules/django_appconf { };
django_colorful = buildPythonPackage rec {