Merge pull request #284823 from fabaff/ipwhois-fix

python311Packages.ipwhois: enable darwin support
This commit is contained in:
Fabian Affolter 2024-01-30 21:33:54 +01:00 committed by GitHub
commit 5b92c8697a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "secynic";
repo = pname;
repo = "ipwhois";
rev = "refs/tags/v${version}";
hash = "sha256-2CfRRHlIIaycUtzKeMBKi6pVPeBCb1nW3/1hoxQU1YM=";
};
@ -35,6 +35,8 @@ buildPythonPackage rec {
})
];
__darwinAllowLocalNetworking = true;
pythonRelaxDeps = [
"dnspython"
];
@ -65,6 +67,8 @@ buildPythonPackage rec {
disabledTestPaths = [
# Tests require network access
"ipwhois/tests/online/"
# Stress test
"ipwhois/tests/stress/test_experimental.py"
];
disabledTests = [