python3Packages.django-probes: init at 1.7.0
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
pytestCheckHook,
|
||||
pytest-django,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-probes";
|
||||
version = "1.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "painless-software";
|
||||
repo = "django-probes";
|
||||
rev = version;
|
||||
hash = "sha256-n3GI7fNxZkR0ZrI843q0EjkSfSK4LpUox09FFpigJY8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"django_probes"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-django
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Django app to run database liveness probe in a Kubernetes project";
|
||||
homepage = "https://github.com/painless-software/django-probes";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
LorenzBischof
|
||||
jcollie
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4074,6 +4074,8 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/django-postgresql-netfields
|
||||
{ };
|
||||
|
||||
django-probes = callPackage ../development/python-modules/django-probes { };
|
||||
|
||||
django-prometheus = callPackage ../development/python-modules/django-prometheus { };
|
||||
|
||||
django-pwa = callPackage ../development/python-modules/django-pwa { };
|
||||
|
||||
Reference in New Issue
Block a user