13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
20 rev = "cli/v${version}";
21 hash = "sha256-DooUOp+fr5oOrx04SLlTGro8xc2LieVPNtdvDyTLL/s=";
24 cargoHash = "sha256-zMMfLDhiqG8Ahe+7PFjpOtwaBXbKkLDIIoHS329/4uQ=";
34 ] ++ lib.optionals stdenv.isDarwin [
35 darwin.apple_sdk.frameworks.Security
42 cargoBuildFlags = [ "-p=biome_cli" ];
43 cargoTestFlags = cargoBuildFlags ++
44 # skip a broken test from v1.6.3 release
45 # this will be removed on the next version
46 [ "-- --skip=diagnostics::test::termination_diagnostic_size" ];
49 BIOME_VERSION = version;
50 LIBGIT2_NO_VENDOR = 1;
54 # tests assume git repository
57 # tests assume $BIOME_VERSION is unset
62 description = "Toolchain of the web";
63 homepage = "https://biomejs.dev/";
64 changelog = "https://github.com/biomejs/biome/blob/${src.rev}/CHANGELOG.md";
65 license = licenses.mit;
66 maintainers = with maintainers; [ figsoda ];
67 mainProgram = "biome";