about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2024-02-16 16:30:40 +0100
committerGitHub <noreply@github.com>2024-02-16 16:30:40 +0100
commit1225df86908f6f5b23553e9d77da4df4bfdd58ef (patch)
treee5d040d556a3b4ae2ab5d0308a1b18e7ff5b7609 /pkgs
parent0a349ba40dbf9cb5ac499d72b636b85807ff0ef1 (diff)
parent93ee3a961d72660872a83a084bc36c68896bd779 (diff)
Merge pull request #289307 from patka-123/cohere-fix-build
python311Packages.cohere: fix build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/cohere/default.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/cohere/default.nix b/pkgs/development/python-modules/cohere/default.nix
index 133721ca4d741..b95344d3a6610 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
   ];