python3Packages.social-auth-app-django: init at 5.0.0

This commit is contained in:
Ember 'n0emis' Keske 2022-03-05 19:24:24 +01:00
parent 6959e91eb6
commit 64225de6ff
No known key found for this signature in database
GPG Key ID: 00FAF748B777CF10
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib, buildPythonPackage, fetchFromGitHub, social-auth-core, django, python }:
buildPythonPackage rec {
pname = "social-auth-app-django";
version = "5.0.0";
src = fetchFromGitHub {
owner = "python-social-auth";
repo = "social-app-django";
rev = version;
sha256 = "sha256-ONhdXxclHRpVtijpKEZlmGDhjid/jnTaPq6LQtjxCC4=";
};
propagatedBuildInputs = [
social-auth-core
];
pythonImportsCheck = [ "social_django" ];
checkInputs = [
django
];
checkPhase = ''
${python.interpreter} -m django test --settings="tests.settings"
'';
meta = with lib; {
homepage = "https://github.com/python-social-auth/social-app-django";
description = "Python Social Auth - Application - Django";
license = licenses.bsd3;
maintainers = with maintainers; [ n0emis ];
};
}

View File

@ -9379,6 +9379,8 @@ in {
socketio-client = callPackage ../development/python-modules/socketio-client { };
social-auth-app-django = callPackage ../development/python-modules/social-auth-app-django { };
social-auth-core = callPackage ../development/python-modules/social-auth-core { };
socialscan = callPackage ../development/python-modules/socialscan { };