Commit 601c840b authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.asyncwhois: refactor

parent ea710f5e
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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"