10 buildPythonPackage rec {
11 pname = "django-login-required-middleware";
15 src = fetchFromGitHub {
16 owner = "CleitonDeLima";
18 rev = "refs/tags/${version}";
19 hash = "sha256-WFQ/JvKh6gkUxPV27QBd2TzwFS8hfQGmcTInTnmh6iA=";
26 propagatedBuildInputs = [
34 pythonImportsCheck = [
39 ${python.interpreter} -m django test --settings tests.settings
43 description = "Requires login to all requests through middleware in Django";
44 homepage = "https://github.com/CleitonDeLima/django-login-required-middleware";
45 license = licenses.mit;
46 maintainers = with maintainers; [ onny ];