python311Packages.cohere: fix build

This commit is contained in:
Patka 2024-02-16 16:15:53 +01:00
parent fc1b4c9c0d
commit 93ee3a961d
No known key found for this signature in database

@ -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
];