python3Packages.mirakuru: fix build on darwin in sandbox
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
@@ -42,6 +43,20 @@ buildPythonPackage rec {
|
||||
];
|
||||
pythonImportsCheck = [ "mirakuru" ];
|
||||
|
||||
# Necessary for the tests to pass on Darwin with sandbox enabled.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# Those are failing in the darwin sandbox with:
|
||||
# > ps: %mem: requires entitlement
|
||||
# > ps: vsz: requires entitlement
|
||||
# > ps: rss: requires entitlement
|
||||
# > ps: time: requires entitlement
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"test_forgotten_stop"
|
||||
"test_mirakuru_cleanup"
|
||||
"test_daemons_killing"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.org/project/mirakuru";
|
||||
description = "Process orchestration tool designed for functional and integration tests";
|
||||
|
||||
Reference in New Issue
Block a user