diff --git a/pkgs/development/python-modules/pyweatherflowrest/default.nix b/pkgs/development/python-modules/pyweatherflowrest/default.nix index 3ae2b78132ef..44d0ab267280 100644 --- a/pkgs/development/python-modules/pyweatherflowrest/default.nix +++ b/pkgs/development/python-modules/pyweatherflowrest/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pyweatherflowrest"; version = "1.0.11"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -21,14 +21,9 @@ buildPythonPackage rec { hash = "sha256-l1V3HgzqnnoY6sWHwfgBtcIR782RwKhekY2qOLrUMNY="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ aiohttp ]; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace "--cov=pyweatherflowrest --cov-append" "" - ''; + dependencies = [ aiohttp ]; # Module has no tests. test.py is a demo script doCheck = false;