diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/asyncwhois/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/asyncwhois/default.nix b/pkgs/development/python-modules/asyncwhois/default.nix index 31365e604e3a..084c9ee8d306 100644 --- a/pkgs/development/python-modules/asyncwhois/default.nix +++ b/pkgs/development/python-modules/asyncwhois/default.nix @@ -6,6 +6,7 @@ , pytestCheckHook , python-socks , pythonOlder +, setuptools , tldextract , whodap }: @@ -13,9 +14,9 @@ buildPythonPackage rec { pname = "asyncwhois"; version = "1.1.0"; - format = "setuptools"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "pogzyb"; @@ -24,6 +25,10 @@ buildPythonPackage rec { 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 = [ |