rio: 0.4.5 -> 0.4.7 (#533242)

This commit is contained in:
Arne Keller 2026-07-03 19:42:53 +00:00 committed by GitHub
commit 411621c829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,16 +51,24 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rio";
version = "0.4.5";
version = "0.4.7";
src = fetchFromGitHub {
owner = "raphamorim";
repo = "rio";
tag = "v${finalAttrs.version}";
hash = "sha256-ON7CJ1NDwLfjvLZ0ugN45LUjBGiwRNASiQwuDa6F1vM=";
hash = "sha256-vlNt8hBb1fhO5tEAID5WXMc7I0k9vn6/L45nkTXS6Qg=";
};
cargoHash = "sha256-vSQ5heZZ8tYKeMABhZ8AziEAniavnAasH04BVlqYF4g=";
cargoHash = "sha256-8qVS9wINEBLKKWbylG3sHO+oqnLvsa1wgN0OOHFzOBM=";
# The 0.4.7 "update to rust 1.96" bump (raphamorim/rio@6a11aa33c7) only made
# clippy-style refactors that build on older rustc; the MSRV pin is cosmetic.
# Lower it so nixpkgs' rustc (1.95) can build rio.
postPatch = ''
substituteInPlace Cargo.toml \
--replace-fail 'rust-version = "1.96.0"' 'rust-version = "1.95.0"'
'';
nativeBuildInputs = [
rustPlatform.bindgenHook