Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, pdm-backend, confusable-homoglyphs, coverage, django,}:
buildPythonPackage rec { pname = "django-registration"; version = "5.1.0"; pyproject = true;
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 ]; };}