Files
nixpkgs/pkgs/development/python-modules/social-auth-app-django/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

51 lines
1.1 KiB
Nix

{
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 = with lib; {
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 = licenses.bsd3;
maintainers = [ ];
};
}