ctranslate2 3.24.0 -> 4.0.0 https://github.com/OpenNMT/CTranslate2/releases attrpath: ctranslate2 Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/development/libraries/ctranslate2/default.nix b/pkgs/development/libraries/ctranslate2/default.nix index e8e67c3ad437..943b9f28584c 100644 --- a/pkgs/development/libraries/ctranslate2/default.nix +++ b/pkgs/development/libraries/ctranslate2/default.nix @@ -24,13 +24,13 @@ let in stdenv.mkDerivation rec { pname = "ctranslate2"; - version = "3.24.0"; + version = "4.0.0"; src = fetchFromGitHub { owner = "OpenNMT"; repo = "CTranslate2"; rev = "v${version}"; - hash = "sha256-RK5GQymtaYOM6HK2eRK5Rbz6NZva3Jt7lTPTUbSQXxI="; + hash = "sha256-pySnkDnV41rqr4OcNonPtSgv4AJYcF5vtkBg6Ad/IvU="; fetchSubmodules = true; }; Successfully finished processing cachix "/nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0" [check][nixpkgs-review] Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
5 packages failed to build:
4 packages built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://github.com/OpenNMT/CTranslate2/releases. meta.description for ctranslate2 is: Fast inference engine for Transformer models meta.homepage for ctranslate2 is: https://github.com/OpenNMT/CTranslate2 meta.changelog for ctranslate2 is: https://github.com/OpenNMT/CTranslate2/blob/v4.0.0/CHANGELOG.md ###### Updates performed - Version update ###### To inspect upstream changes ###### Impact Checks done --- - built on NixOS - Warning: a test defined in `passthru.tests` did not pass - found 4.0.0 with grep in /nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0 - found 4.0.0 in filename of file in /nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0 ---
Rebuild report (if merged into master) (click to expand) ``` 10 total rebuild path(s) 10 package rebuild(s) First fifty rebuilds by attrpath ctranslate2 libretranslate python311Packages.argos-translate-files python311Packages.argostranslate python311Packages.ctranslate2 python311Packages.faster-whisper python311Packages.libretranslate python311Packages.translatehtml whisper-ctranslate2 wyoming-faster-whisper ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0 \ --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \ --option trusted-public-keys ' nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The Cachix cache is only trusted for this store-path realization.) For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted. Or, **build yourself**: ``` nix-build -A ctranslate2 https://github.com/r-ryantm/nixpkgs/archive/cc0a2c1fb954edc1a003f108c0e37cc74726dfb4.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/cc0a2c1fb954edc1a003f108c0e37cc74726dfb4#ctranslate2 ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0 ls -la /nix/store/3as5v3j6l8808r3b3a86k4kqir037fwp-ctranslate2-4.0.0/bin ``` ---

### Pre-merge build results We have automatically built all packages that will get rebuilt due to this change. This gives evidence on whether the upgrade will break dependent packages. Note sometimes packages show up as _failed to build_ independent of the change, simply because they are already broken on the target branch. Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
5 packages failed to build:
4 packages built:
--- ###### Maintainer pings cc @mweinelt @misuzu for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). https://api.github.com/repos/NixOS/nixpkgs/pulls/289185