Merge pull request #288230 from fabaff/asyncwhois-bump

python311Packages.asyncwhois: 1.0.9 -> 1.1.0
This commit is contained in:
Nick Cao 2024-02-12 10:05:46 -05:00 committed by GitHub
commit cf9f5cb8fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,24 +6,29 @@
, pytestCheckHook
, python-socks
, pythonOlder
, setuptools
, tldextract
, whodap
}:
buildPythonPackage rec {
pname = "asyncwhois";
version = "1.0.9";
format = "setuptools";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "pogzyb";
repo = "asyncwhois";
rev = "refs/tags/v${version}";
hash = "sha256-5T/h4YzODH7zFyQpG8qVZetTK7V+Ii9jc+MQFgMUA8w=";
hash = "sha256-rJwJhSOFrZZ3WXEZmPMfdosBBW/R5/PMqs0QLnsPMoI=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
python-socks
tldextract
@ -38,7 +43,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "python-socks[asyncio]" "python-socks"
--replace-fail "python-socks[asyncio]" "python-socks"
'';
disabledTests = [