13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
20 rev = "cli/v${version}";
21 hash = "sha256-GZV8M/yUDMom6xvSvSfDRjcMGm+thiaTR3fggkBLmRE=";
24 cargoHash = "sha256-5VZGyOQAz/p4r4v8CHOTcdgolw44HtZM0NuhTw4Wx3A=";
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 darwin.apple_sdk.frameworks.Security
44 cargoBuildFlags = [ "-p=biome_cli" ];
48 # skip a broken test from v1.7.3 release
49 # this will be removed on the next version
50 [ "-- --skip=diagnostics::test::termination_diagnostic_size" ];
53 BIOME_VERSION = version;
54 LIBGIT2_NO_VENDOR = 1;
58 # tests assume git repository
61 # tests assume $BIOME_VERSION is unset
66 description = "Toolchain of the web";
67 homepage = "https://biomejs.dev/";
68 changelog = "https://github.com/biomejs/biome/blob/${src.rev}/CHANGELOG.md";
69 license = lib.licenses.mit;
70 maintainers = with lib.maintainers; [
74 mainProgram = "biome";