Gaetan Lepage 2024-02-03 17:31:14 +01:00
parent 737bde6fb2
commit 3d01a2c66c
2 changed files with 3 additions and 12 deletions

View File

@ -1786,7 +1786,7 @@ dependencies = [
[[package]] [[package]]
name = "rye" name = "rye"
version = "0.20.0" version = "0.21.0"
dependencies = [ dependencies = [
"age", "age",
"anyhow", "anyhow",

View File

@ -1,7 +1,6 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, installShellFiles , installShellFiles
, pkg-config , pkg-config
, openssl , openssl
@ -13,23 +12,15 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rye"; pname = "rye";
version = "0.20.0"; version = "0.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mitsuhiko"; owner = "mitsuhiko";
repo = "rye"; repo = "rye";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-btgX1nDBJeZjwv2pBi4OEwzFf7xpRDaq63JTrSkF+BM="; hash = "sha256-H41gJNNrelPyCP1EYXIjwEc+1v2lnw9xmm0J+12lENA=";
}; };
patches = [
(fetchpatch { # Fixes the build: https://github.com/mitsuhiko/rye/issues/575
name = "bump-monotrail";
url = "https://github.com/mitsuhiko/rye/commit/675255c2c12176fff8988b6c3896dcd10766b681.patch";
hash = "sha256-kBqjTHW7oT6DY17bdReoRfV9E75QtYqBlOv4FHbbexw=";
})
];
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {