From e848c96f570cb26c50c1eb4c16ed0841d32a07d3 Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Tue, 19 Nov 2024 06:07:37 -0600 Subject: [PATCH] wchisp: remove overuse of with lib --- pkgs/by-name/wc/wchisp/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/wc/wchisp/package.nix b/pkgs/by-name/wc/wchisp/package.nix index e70565ca4578..251d72a3f550 100644 --- a/pkgs/by-name/wc/wchisp/package.nix +++ b/pkgs/by-name/wc/wchisp/package.nix @@ -34,14 +34,14 @@ rustPlatform.buildRustPackage rec { }; }; - meta = with lib; { + meta = { description = "A command-line implementation of WCHISPTool, for flashing ch32 MCUs"; homepage = "https://ch32-rs.github.io/wchisp/"; changelog = "https://github.com/ch32-rs/wchisp/releases/tag/v${version}"; - license = with licenses; [ gpl2Only ]; - platforms = with platforms; linux ++ darwin ++ windows; + license = with lib.licenses; [ gpl2Only ]; + platforms = with lib.platforms; linux ++ darwin ++ windows; broken = !stdenv.hostPlatform.isLinux; - maintainers = with maintainers; [ jwillikers ]; + maintainers = with lib.maintainers; [ jwillikers ]; mainProgram = "wchisp"; }; }