depot/third_party/nixpkgs/pkgs/development/python-modules/django-maintenance-mode/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
637 B
Nix

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