File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
pkgs/development/python-modules/mirakuru Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11{
2+ stdenv ,
23 lib ,
34 buildPythonPackage ,
45 fetchFromGitHub ,
@@ -42,6 +43,20 @@ buildPythonPackage rec {
4243 ] ;
4344 pythonImportsCheck = [ "mirakuru" ] ;
4445
46+ # Necessary for the tests to pass on Darwin with sandbox enabled.
47+ __darwinAllowLocalNetworking = true ;
48+
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 [
55+ "test_forgotten_stop"
56+ "test_mirakuru_cleanup"
57+ "test_daemons_killing"
58+ ] ;
59+
4560 meta = with lib ; {
4661 homepage = "https://pypi.org/project/mirakuru" ;
4762 description = "Process orchestration tool designed for functional and integration tests" ;
You can’t perform that action at this time.
0 commit comments