python312Packages.asyncwhois: refactor
This commit is contained in:
parent
ea710f5ea5
commit
601c840b9d
@ -25,11 +25,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-ESVgK4Z26OAamdHPEVxysnlJ0rEUlr8KNd24fawHuEg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "python-socks[asyncio]" "python-socks"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
python-socks
|
||||
tldextract
|
||||
whodap
|
||||
@ -41,11 +46,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "python-socks[asyncio]" "python-socks"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_pywhois_aio_get_hostname_from_ip"
|
||||
|
Loading…
Reference in New Issue
Block a user