wchisp: remove overuse of with lib

This commit is contained in:
Jordan Williams 2024-11-19 06:07:37 -06:00
parent 23e89b7da8
commit e848c96f57
No known key found for this signature in database
GPG Key ID: 9FB42B0E7F657D8C

View File

@ -34,14 +34,14 @@ rustPlatform.buildRustPackage rec {
}; };
}; };
meta = with lib; { meta = {
description = "A command-line implementation of WCHISPTool, for flashing ch32 MCUs"; description = "A command-line implementation of WCHISPTool, for flashing ch32 MCUs";
homepage = "https://ch32-rs.github.io/wchisp/"; homepage = "https://ch32-rs.github.io/wchisp/";
changelog = "https://github.com/ch32-rs/wchisp/releases/tag/v${version}"; changelog = "https://github.com/ch32-rs/wchisp/releases/tag/v${version}";
license = with licenses; [ gpl2Only ]; license = with lib.licenses; [ gpl2Only ];
platforms = with platforms; linux ++ darwin ++ windows; platforms = with lib.platforms; linux ++ darwin ++ windows;
broken = !stdenv.hostPlatform.isLinux; broken = !stdenv.hostPlatform.isLinux;
maintainers = with maintainers; [ jwillikers ]; maintainers = with lib.maintainers; [ jwillikers ];
mainProgram = "wchisp"; mainProgram = "wchisp";
}; };
} }