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