django-maintenance-mode: init at 0.14.0

This commit is contained in:
Vladyslav Burzakovskyy 2019-07-09 14:58:08 +02:00 committed by Jon
parent b8a0cfd5e2
commit a24cac67bd
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest, django }:
buildPythonPackage rec {
pname = "django-maintenance-mode";
version = "0.14.0";
src = fetchFromGitHub {
owner = "fabiocaccamo";
repo = pname;
rev = version;
sha256 = "1k06fhqd8wyrkp795x5j2r328l2phqgg1m1qm7fh4l2qrha43aw6";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ django ];
meta = with stdenv.lib; {
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;
};
}

View file

@ -1618,6 +1618,8 @@ in {
django-multiselectfield = callPackage ../development/python-modules/django-multiselectfield { };
django-maintenance-mode = callPackage ../development/python-modules/django-maintenance-mode { };
django_nose = callPackage ../development/python-modules/django_nose { };
django-oauth-toolkit = callPackage ../development/python-modules/django-oauth-toolkit { };