1{ 2 lib, 3 boto3, 4 buildPythonPackage, 5 celery, 6 django-storages, 7 django, 8 fetchFromGitHub, 9 flit-core, 10 flit-scm, 11 gitMinimal, 12 mock, 13 pytest-cov-stub, 14 pytest-django, 15 pytestCheckHook, 16 redis, 17 sphinx, 18}: 19 20buildPythonPackage rec { 21 pname = "django-health-check"; 22 version = "3.20.0"; 23 pyproject = true; 24 25 src = fetchFromGitHub { 26 owner = "KristianOellegaard"; 27 repo = "django-health-check"; 28 tag = version; 29 hash = "sha256-qgABCDWKGYZ67sKvCozUQfmYcKWMpEVNLxInTnIaojk="; 30 }; 31 32 build-system = [ 33 flit-core 34 flit-scm 35 ]; 36 37 buildInputs = [ 38 sphinx 39 django 40 ]; 41 42 nativeBuildInputs = [ gitMinimal ]; 43 44 nativeCheckInputs = [ 45 boto3 46 django-storages 47 pytest-cov-stub 48 pytest-django 49 pytestCheckHook 50 mock 51 celery 52 redis 53 ]; 54 55 disabledTests = [ 56 # commandline output mismatch 57 "test_command_with_non_existence_subset" 58 ]; 59 60 pythonImportsCheck = [ "health_check" ]; 61 62 meta = with lib; { 63 description = "Pluggable app that runs a full check on the deployment"; 64 homepage = "https://github.com/KristianOellegaard/django-health-check"; 65 changelog = "https://github.com/revsys/django-health-check/releases/tag/${src.tag}"; 66 license = licenses.mit; 67 maintainers = with maintainers; [ onny ]; 68 }; 69}