Merge pull request #186337 from tjni/fix-django-maintenance-mode

This commit is contained in:
Sandro 2022-08-15 14:35:43 +02:00 committed by GitHub
commit e76b7b6885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,10 @@
{ lib, fetchFromGitHub, buildPythonPackage, pytest, django }:
{ lib
, fetchFromGitHub
, buildPythonPackage
, pytest
, django
, python-fsutil
}:
buildPythonPackage rec {
pname = "django-maintenance-mode";
@ -8,12 +14,12 @@ buildPythonPackage rec {
owner = "fabiocaccamo";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-G08xQpLQxnt7JbtIo06z0NlRAMbca3UWbo4aXQR/Wy0=";
hash = "sha256-G08xQpLQxnt7JbtIo06z0NlRAMbca3UWbo4aXQR/Wy0=";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ django ];
propagatedBuildInputs = [ django python-fsutil ];
meta = with lib; {
description = "Shows a 503 error page when maintenance-mode is on";