diff --git a/pkgs/development/python-modules/asyncwhois/default.nix b/pkgs/development/python-modules/asyncwhois/default.nix index 3ec2635af773..4d9ed2cccdef 100644 --- a/pkgs/development/python-modules/asyncwhois/default.nix +++ b/pkgs/development/python-modules/asyncwhois/default.nix @@ -1,7 +1,7 @@ { lib -, asynctest , buildPythonPackage , fetchFromGitHub +, pytest-mock , pytestCheckHook , python-socks , pythonOlder @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "asyncwhois"; - version = "1.0.1"; + version = "1.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,8 +19,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pogzyb"; repo = pname; - rev = "v${version}"; - hash = "sha256-TpUiUW9ntrpuT/rUhucedl+DM5X88Mislrd+3D5/TUE="; + rev = "refs/tags/v${version}"; + hash = "sha256-MYK09kszv7CTvZjdA9YQFfhlJ/A5d/aebLRaiMlnuB0="; }; propagatedBuildInputs = [ @@ -30,7 +30,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - asynctest + pytest-mock pytestCheckHook ]; @@ -61,6 +61,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for retrieving WHOIS information"; homepage = "https://github.com/pogzyb/asyncwhois"; + changelog = "https://github.com/pogzyb/asyncwhois/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/whodap/default.nix b/pkgs/development/python-modules/whodap/default.nix index 8dd65d11911e..c4b207962987 100644 --- a/pkgs/development/python-modules/whodap/default.nix +++ b/pkgs/development/python-modules/whodap/default.nix @@ -1,7 +1,7 @@ { lib -, asynctest , buildPythonPackage , fetchFromGitHub +, pytest-asyncio , pytestCheckHook , pythonOlder , httpx @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "whodap"; - version = "0.1.7"; + version = "0.1.8"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "pogzyb"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-Aji8OqdcVOHB4TOv4W6x1qIGaJvoDmLGpr/PFz5mZ4w="; + hash = "sha256-hAU9143R/LDqDBgX3Y+gBG+dt4dpIIPDdO6HgH0ZTfg="; }; propagatedBuildInputs = [ @@ -26,7 +26,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - asynctest + pytest-asyncio pytestCheckHook ];