From 8c64d51c4e5f108e55317ef48a4669ca23fff3ff Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Tue, 19 Nov 2024 06:11:02 -0600 Subject: [PATCH] wlink: fix overuse of with lib (cherry picked from commit 3e9804ac0e840a896d23beb63ae4034a82e646b1) --- pkgs/by-name/wl/wlink/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/wl/wlink/package.nix b/pkgs/by-name/wl/wlink/package.nix index 05d51ac168a3c..b09bc4c69fa82 100644 --- a/pkgs/by-name/wl/wlink/package.nix +++ b/pkgs/by-name/wl/wlink/package.nix @@ -36,17 +36,17 @@ rustPlatform.buildRustPackage rec { }; }; - meta = with lib; { + meta = { description = "WCH-Link flash tool for WCH's RISC-V MCUs(CH32V, CH56X, CH57X, CH58X, CH59X, CH32L103, CH32X035, CH641, CH643)"; homepage = "https://github.com/ch32-rs/wlink"; changelog = "https://github.com/ch32-rs/wlink/releases/tag/v${version}"; - license = with licenses; [ + license = with lib.licenses; [ mit # or asl20 ]; - platforms = with platforms; linux ++ darwin ++ windows; + platforms = with lib.platforms; linux ++ darwin ++ windows; broken = !stdenv.hostPlatform.isLinux; - maintainers = with maintainers; [ jwillikers ]; + maintainers = with lib.maintainers; [ jwillikers ]; mainProgram = "wlink"; }; }