diff --git a/pkgs/development/python-modules/cohere/default.nix b/pkgs/development/python-modules/cohere/default.nix index 133721ca4d74..b95344d3a661 100644 --- a/pkgs/development/python-modules/cohere/default.nix +++ b/pkgs/development/python-modules/cohere/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "cohere"; version = "4.37"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -24,15 +24,6 @@ buildPythonPackage rec { hash = "sha256-eIAh2dmSxsMdGYXZXMyyd8cmWILErNekmz5H2ne0vsg="; }; - patches = [ - # https://github.com/cohere-ai/cohere-python/pull/289 - (fetchpatch { - name = "replace-poetry-with-poetry-core.patch"; - url = "https://github.com/cohere-ai/cohere-python/commit/e86480336331c0cf6f67e26b0825467dfca5b277.patch"; - hash = "sha256-P1Ioq5ypzT3tx6cxrI3ep34Fi4cUx88YkfJ5ErN3VHk="; - }) - ]; - nativeBuildInputs = [ poetry-core ];