blob: b19c2fe6444eb383332c0f801d11d4b5e934b2a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
django,
social-auth-core,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "social-auth-app-django";
version = "5.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "python-social-auth";
repo = "social-app-django";
tag = version;
hash = "sha256-XS7Uj0h2kb+NfO/9S5DAwZ+6LSjqeNslLwNbbVZmkTw=";
};
build-system = [ setuptools ];
dependencies = [
django
social-auth-core
];
pythonImportsCheck = [ "social_django" ];
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
preCheck = ''
export DJANGO_SETTINGS_MODULE=tests.settings
'';
meta = {
broken = lib.versionOlder django.version "5.1";
description = "Module for social authentication/registration mechanism";
homepage = "https://github.com/python-social-auth/social-app-django";
changelog = "https://github.com/python-social-auth/social-app-django/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|