1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 pytestCheckHook,
7 setuptools,
8 psutil,
9 netcat,
10 ps,
11 python-daemon,
12}:
13
14buildPythonPackage rec {
15 pname = "mirakuru";
16 version = "2.5.2";
17 format = "pyproject";
18
19 disabled = pythonOlder "3.8";
20
21 src = fetchFromGitHub {
22 owner = "ClearcodeHQ";
23 repo = "mirakuru";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-I1TKP0ESuBMTcReZf0tryjvGpSpwzofwmOiQqhyr6Zg=";
26 };
27
28 nativeBuildInputs = [ setuptools ];
29
30 propagatedBuildInputs = [ psutil ];
31
32 nativeCheckInputs = [
33 netcat.nc
34 ps
35 python-daemon
36 pytestCheckHook
37 ];
38 pythonImportsCheck = [ "mirakuru" ];
39
40 meta = with lib; {
41 homepage = "https://pypi.org/project/mirakuru";
42 description = "Process orchestration tool designed for functional and integration tests";
43 changelog = "https://github.com/ClearcodeHQ/mirakuru/blob/v${version}/CHANGES.rst";
44 license = licenses.lgpl3Plus;
45 maintainers = with maintainers; [ bcdarwin ];
46 };
47}