2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, pytest, django }:
|
2019-07-09 14:58:08 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-maintenance-mode";
|
|
|
|
version = "0.14.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fabiocaccamo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1k06fhqd8wyrkp795x5j2r328l2phqgg1m1qm7fh4l2qrha43aw6";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-07-09 14:58:08 +02:00
|
|
|
description = "Shows a 503 error page when maintenance-mode is on";
|
|
|
|
homepage = "https://github.com/fabiocaccamo/django-maintenance-mode";
|
|
|
|
maintainers = with maintainers; [ mrmebelman ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|