From 1e9f086f93e20f1b1b574f8779a7779d79e180a1 Mon Sep 17 00:00:00 2001 From: emaryn Date: Tue, 22 Apr 2025 08:36:20 +0800 Subject: [PATCH] fuc: 2.2.0 -> 3.0.1 Diff: https://github.com/SUPERCILEX/fuc/compare/2.2.0...3.0.1 --- pkgs/by-name/fu/fuc/package.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/fu/fuc/package.nix b/pkgs/by-name/fu/fuc/package.nix index 8783a634fc47..1473591785a0 100644 --- a/pkgs/by-name/fu/fuc/package.nix +++ b/pkgs/by-name/fu/fuc/package.nix @@ -6,19 +6,19 @@ rustfmt, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fuc"; - version = "2.2.0"; + version = "3.0.1"; src = fetchFromGitHub { owner = "SUPERCILEX"; repo = "fuc"; - rev = version; - hash = "sha256-ZEiMyX85woPOKaMtw8qqrUXUhY8Ewm71I25inUMH1GQ="; + tag = finalAttrs.version; + hash = "sha256-wmCLJUuGL5u0VIIT17VB63xjfyBVy7/f0Qy27MezDN8="; }; useFetchCargoVendor = true; - cargoHash = "sha256-hNF/WCLkuUDigDpTIVOrza0JNiRSnZeYJDjLqHlHBnw="; + cargoHash = "sha256-hZEPH0Bx7lCU9xYIFLqBez4y+gIA0+WCqag3ZE6cPM0="; RUSTC_BOOTSTRAP = 1; @@ -33,10 +33,13 @@ rustPlatform.buildRustPackage rec { rustfmt ]; - meta = with lib; { + # error[E0602]: unknown lint: `clippy::unnecessary_debug_formatting` + doCheck = false; + + meta = { description = "Modern, performance focused unix commands"; homepage = "https://github.com/SUPERCILEX/fuc"; - license = licenses.asl20; - maintainers = with maintainers; [ dit7ya ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ dit7ya ]; }; -} +})