ctranslate2: 4.6.0 -> 4.6.1 (#459541)

This commit is contained in:
misuzu
2025-11-07 21:35:15 +00:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -28,14 +28,14 @@ let
in
stdenv'.mkDerivation (finalAttrs: {
pname = "ctranslate2";
version = "4.6.0";
version = "4.6.1";
src = fetchFromGitHub {
owner = "OpenNMT";
repo = "CTranslate2";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-EM2kunqtxo0BTIzrEomfaRsdav7sx6QEOhjDtjjSoYY=";
hash = "sha256-nnbBK1dIHwhq8n1mJe2wOLcDkIuScFbQwZvJ8x+knCk=";
};
# Fix CMake 4 compatibility
@@ -27,6 +27,11 @@ buildPythonPackage rec {
# https://github.com/OpenNMT/CTranslate2/tree/master/python
sourceRoot = "${src.name}/python";
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "pybind11==" "pybind11>="
'';
build-system = [
pybind11
setuptools