diff --git a/pkgs/development/python-modules/wikipedia/default.nix b/pkgs/development/python-modules/wikipedia/default.nix index 023fc3a53115..a4f071d06c94 100644 --- a/pkgs/development/python-modules/wikipedia/default.nix +++ b/pkgs/development/python-modules/wikipedia/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + setuptools, beautifulsoup4, requests, unittestCheckHook, @@ -10,14 +11,16 @@ buildPythonPackage rec { pname = "wikipedia"; version = "1.4.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-2w+tGCn91EGxhSMG6YVjmCBNwHhtKZbdLgyLuOJhM7I="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ beautifulsoup4 requests ];