02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
24 lines
651 B
Nix
24 lines
651 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, pytest, django }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-maintenance-mode";
|
|
version = "0.16.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fabiocaccamo";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-G08xQpLQxnt7JbtIo06z0NlRAMbca3UWbo4aXQR/Wy0=";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|