Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 637 B view raw
1{ lib, fetchFromGitHub, buildPythonPackage, pytest, django }: 2 3buildPythonPackage rec { 4 pname = "django-maintenance-mode"; 5 version = "0.14.0"; 6 7 src = fetchFromGitHub { 8 owner = "fabiocaccamo"; 9 repo = pname; 10 rev = version; 11 sha256 = "1k06fhqd8wyrkp795x5j2r328l2phqgg1m1qm7fh4l2qrha43aw6"; 12 }; 13 14 checkInputs = [ pytest ]; 15 16 propagatedBuildInputs = [ django ]; 17 18 meta = with lib; { 19 description = "Shows a 503 error page when maintenance-mode is on"; 20 homepage = "https://github.com/fabiocaccamo/django-maintenance-mode"; 21 maintainers = with maintainers; [ mrmebelman ]; 22 license = licenses.bsd3; 23 }; 24}