mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
Merge pull request #288230 from fabaff/asyncwhois-bump
python311Packages.asyncwhois: 1.0.9 -> 1.1.0
This commit is contained in:
commit
cf9f5cb8fc
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user