lol

Merge pull request #311549 from r-ryantm/auto-update/python311Packages.asyncwhois

python311Packages.asyncwhois: 1.1.0 -> 1.1.2

authored by

Fabian Affolter and committed by
GitHub
ff741a65 953a921e

+22 -25
+22 -25
pkgs/development/python-modules/asyncwhois/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , pytest-asyncio 5 - , pytest-mock 6 - , pytestCheckHook 7 - , python-socks 8 - , pythonOlder 9 - , setuptools 10 - , tldextract 11 - , whodap 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pytest-asyncio, 6 + pytest-mock, 7 + pytestCheckHook, 8 + python-socks, 9 + pythonOlder, 10 + setuptools, 11 + tldextract, 12 + whodap, 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "asyncwhois"; 16 - version = "1.1.0"; 17 + version = "1.1.2"; 17 18 pyproject = true; 18 19 19 20 disabled = pythonOlder "3.9"; ··· 22 23 owner = "pogzyb"; 23 24 repo = "asyncwhois"; 24 25 rev = "refs/tags/v${version}"; 25 - hash = "sha256-rJwJhSOFrZZ3WXEZmPMfdosBBW/R5/PMqs0QLnsPMoI="; 26 + hash = "sha256-ESVgK4Z26OAamdHPEVxysnlJ0rEUlr8KNd24fawHuEg="; 26 27 }; 27 28 28 - nativeBuildInputs = [ 29 - setuptools 30 - ]; 29 + postPatch = '' 30 + substituteInPlace setup.py \ 31 + --replace-fail "python-socks[asyncio]" "python-socks" 32 + ''; 33 + 34 + build-system = [ setuptools ]; 31 35 32 - propagatedBuildInputs = [ 36 + dependencies = [ 33 37 python-socks 34 38 tldextract 35 39 whodap ··· 41 45 pytestCheckHook 42 46 ]; 43 47 44 - postPatch = '' 45 - substituteInPlace setup.py \ 46 - --replace-fail "python-socks[asyncio]" "python-socks" 47 - ''; 48 - 49 48 disabledTests = [ 50 49 # Tests require network access 51 50 "test_pywhois_aio_get_hostname_from_ip" ··· 63 62 "test__get_top_level_domain" 64 63 ]; 65 64 66 - pythonImportsCheck = [ 67 - "asyncwhois" 68 - ]; 65 + pythonImportsCheck = [ "asyncwhois" ]; 69 66 70 67 meta = with lib; { 71 68 description = "Python module for retrieving WHOIS information";