depot/third_party/nixpkgs/pkgs/development/python-modules/django-maintenance-mode/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

24 lines
647 B
Nix

{ 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;
};
}