13 rustPlatform.buildRustPackage rec {
14 pname = "cargo-codspeed";
17 src = fetchFromGitHub {
19 repo = "codspeed-rust";
21 hash = "sha256-pi02Bn5m4JoTtCIZvxkiUVKkjmtCShKqZw+AyhaVdyY=";
24 cargoHash = "sha256-5Ps31Hdis+N/MT/o0IDHSJgHBM3F/ve50ovfFSviMtA=";
36 ] ++ lib.optionals stdenv.isDarwin [
37 darwin.apple_sdk.frameworks.Security
40 cargoBuildFlags = [ "-p=cargo-codspeed" ];
41 cargoTestFlags = cargoBuildFlags;
44 LIBGIT2_NO_VENDOR = 1;
48 description = "Cargo extension to build & run your codspeed benchmarks";
49 homepage = "https://github.com/CodSpeedHQ/codspeed-rust";
50 changelog = "https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/${src.rev}";
51 license = with licenses; [ mit asl20 ];
52 maintainers = with maintainers; [ figsoda ];
53 mainProgram = "cargo-codspeed";