5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
34 lines
839 B
Nix
34 lines
839 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, social-auth-core, django, python }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "social-auth-app-django";
|
|
version = "5.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-social-auth";
|
|
repo = "social-app-django";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-YJsE8YfLaUsBjwehheic6YG+6robWeBzKL3T7V0c8E8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
social-auth-core
|
|
];
|
|
|
|
pythonImportsCheck = [ "social_django" ];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|