mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
rio: 0.4.5 -> 0.4.7 (#533242)
This commit is contained in:
commit
411621c829
1 changed files with 11 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue