pyrefly: 1.0.0 -> 1.1.1

This commit is contained in:
Benoit de Chezelles 2026-06-18 11:55:47 +02:00
commit 60d1960984
2 changed files with 3 additions and 22 deletions

View file

@ -1,12 +0,0 @@
diff --git a/Cargo.lock b/Cargo.lock
index c8c39e9617888199b86fa7c0273c0edebc85df2f..ea5e7b7e633a2de582a7b013a32a6eb6b166e2db 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2866,6 +2866,7 @@ dependencies = [
name = "rustversion"
version = "1.0.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]]
name = "ryu"

View file

@ -10,22 +10,18 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pyrefly";
version = "1.0.0";
version = "1.1.1";
src = fetchFromGitHub {
owner = "facebook";
repo = "pyrefly";
tag = finalAttrs.version;
hash = "sha256-S3phcTwZlG9VBHdYzcbsLzj0uqBUDy4Xfy/tlp3AQZg=";
hash = "sha256-GHH+oG3oUEmGNEmtrmra321UIgRD04Eq1Ct0H7VsjxU=";
};
buildAndTestSubdir = "pyrefly";
cargoPatches = [
# https://github.com/facebook/pyrefly/issues/3383
./fix-cargo-lock.patch
];
cargoHash = "sha256-OfbPPANsAhrp2MbzDEHGRLWWmUkbMMGKR5B4R6lXdE4=";
cargoHash = "sha256-vOHcmYVKlsxueWjvCCDWwSfJt+2/71b5+NdQyW3jYH4=";
buildInputs = [ rust-jemalloc-sys ];
@ -42,9 +38,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
export TMPDIR=$(mktemp -d)
'';
# requires unstable rust features
env.RUSTC_BOOTSTRAP = 1;
passthru.updateScript = nix-update-script { };
meta = {