Files
nixpkgs/pkgs/development/python-modules/django-health-check/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

70 lines
1.3 KiB
Nix

{
lib,
boto3,
buildPythonPackage,
celery,
django-storages,
django,
fetchFromGitHub,
flit-core,
flit-scm,
gitMinimal,
mock,
pytest-cov-stub,
pytest-django,
pytestCheckHook,
redis,
sphinx,
}:
buildPythonPackage rec {
pname = "django-health-check";
version = "3.20.0";
pyproject = true;
src = fetchFromGitHub {
owner = "KristianOellegaard";
repo = "django-health-check";
tag = version;
hash = "sha256-qgABCDWKGYZ67sKvCozUQfmYcKWMpEVNLxInTnIaojk=";
};
build-system = [
flit-core
flit-scm
];
buildInputs = [
sphinx
django
];
nativeBuildInputs = [ gitMinimal ];
nativeCheckInputs = [
boto3
django-storages
pytest-cov-stub
pytest-django
pytestCheckHook
mock
celery
redis
];
disabledTests = [
# commandline output mismatch
"test_command_with_non_existence_subset"
];
pythonImportsCheck = [ "health_check" ];
meta = {
description = "Pluggable app that runs a full check on the deployment";
homepage = "https://github.com/KristianOellegaard/django-health-check";
changelog = "https://github.com/revsys/django-health-check/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ onny ];
};
}