Skip to content

Commit 03bd475

Browse files
authored
ruff: 0.11.1 -> 0.11.2 (NixOS#392133)
2 parents 6db5944 + c936cf6 commit 03bd475

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pkgs/by-name/ru/ruff/package.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@
1717

1818
rustPlatform.buildRustPackage (finalAttrs: {
1919
pname = "ruff";
20-
version = "0.11.1";
20+
version = "0.11.2";
2121

2222
src = fetchFromGitHub {
2323
owner = "astral-sh";
2424
repo = "ruff";
2525
tag = finalAttrs.version;
26-
hash = "sha256-uouy47Lzrrht3wBUiQePW7x6QJfpIce9ny/p6HNwCNY=";
26+
hash = "sha256-/K6+zze5d0RAE7/Nalnmx9qKHI1rPDeh3OkTatgP5Q4=";
2727
};
2828

2929
useFetchCargoVendor = true;
30-
cargoHash = "sha256-EaMNkliJmeKwxrnlK+aCFGvzbvVIjS0qHc9h9z9m47I=";
30+
cargoHash = "sha256-uDuR7GF3918V6ssx4p64pOzCRlLl2vJR0FEBSUnlFQ8=";
3131

3232
nativeBuildInputs = [ installShellFiles ];
3333

3434
buildInputs = [
3535
rust-jemalloc-sys
3636
];
3737

38-
postInstall =
38+
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
3939
let
4040
emulator = stdenv.hostPlatform.emulator buildPackages;
4141
in
@@ -44,7 +44,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
4444
--bash <(${emulator} $out/bin/ruff generate-shell-completion bash) \
4545
--fish <(${emulator} $out/bin/ruff generate-shell-completion fish) \
4646
--zsh <(${emulator} $out/bin/ruff generate-shell-completion zsh)
47-
'';
47+
''
48+
);
4849

4950
# Run cargo tests
5051
checkType = "debug";

0 commit comments

Comments
 (0)