python311Packages.cohere: fix build
This commit is contained in:
parent
fc1b4c9c0d
commit
93ee3a961d
1 changed files with 1 additions and 10 deletions
|
@ -15,7 +15,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cohere";
|
pname = "cohere";
|
||||||
version = "4.37";
|
version = "4.37";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -24,15 +24,6 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-eIAh2dmSxsMdGYXZXMyyd8cmWILErNekmz5H2ne0vsg=";
|
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 = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue