python312Packages.django-registration: init at 5.1.0 (#378904)
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
confusable-homoglyphs,
|
||||
coverage,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
pdm-backend,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-registration";
|
||||
version = "5.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9" || pythonAtLeast "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ubernostrum";
|
||||
repo = "django-registration";
|
||||
tag = version;
|
||||
hash = "sha256-02kAZXxzTdLBvgff+WNUww2k/yGqxIG5gv8gXy9z7KE=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
dependencies = [
|
||||
confusable-homoglyphs
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
coverage
|
||||
django
|
||||
];
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
DJANGO_SETTINGS_MODULE=tests.settings python -m coverage run --source django_registration runtests.py
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "django_registration" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/ubernostrum/django-registration/blob/${version}/docs/changelog.rst";
|
||||
description = "User registration app for Django";
|
||||
homepage = "https://django-registration.readthedocs.io/en/${version}/";
|
||||
downloadPage = "https://github.com/ubernostrum/django-registration";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.l0b0 ];
|
||||
};
|
||||
}
|
||||
@@ -3619,6 +3619,8 @@ self: super: with self; {
|
||||
|
||||
django-q2 = callPackage ../development/python-modules/django-q2 { };
|
||||
|
||||
django-registration = callPackage ../development/python-modules/django-registration { };
|
||||
|
||||
django-scheduler = callPackage ../development/python-modules/django-scheduler { };
|
||||
|
||||
django-scim2 = callPackage ../development/python-modules/django-scim2 { };
|
||||
|
||||
Reference in New Issue
Block a user