15 buildPythonPackage rec {
20 disabled = pythonOlder "3.9";
22 src = fetchFromGitHub {
23 owner = "ClearcodeHQ";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-blk4Oclb3+Cj3RH7BhzacfoPFDBIP/zgv4Ct7fawGnQ=";
30 # https://github.com/ClearcodeHQ/mirakuru/pull/810
34 nativeBuildInputs = [ setuptools ];
36 propagatedBuildInputs = [ psutil ];
44 pythonImportsCheck = [ "mirakuru" ];
46 # Necessary for the tests to pass on Darwin with sandbox enabled.
47 __darwinAllowLocalNetworking = true;
49 # Those are failing in the darwin sandbox with:
50 # > ps: %mem: requires entitlement
51 # > ps: vsz: requires entitlement
52 # > ps: rss: requires entitlement
53 # > ps: time: requires entitlement
54 disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
56 "test_mirakuru_cleanup"
57 "test_daemons_killing"
61 homepage = "https://pypi.org/project/mirakuru";
62 description = "Process orchestration tool designed for functional and integration tests";
63 changelog = "https://github.com/ClearcodeHQ/mirakuru/blob/v${version}/CHANGES.rst";
64 license = licenses.lgpl3Plus;
65 maintainers = with maintainers; [ bcdarwin ];