blob: a3bcec1ab7ed205be82bc805d0fc0422da193da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "django-probes";
version = "1.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "painless-software";
repo = "django-probes";
rev = version;
hash = "sha256-opto5AAUPhEsWbYh7nItUw7qNoUfOFFZ7tw5agWGBSg=";
};
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
];
};
}
|