Skip to content

Commit

Permalink
Add BurntSushi/cargo-benchcmp to the Nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Mackie committed May 23, 2022
1 parent f13ca1b commit 28ad311
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ let
};
inherit (fenixPackages) rust-analyzer;

cargo-benchcmp = pkgs.rustPlatform.buildRustPackage rec {
pname = "cargo-benchcmp";
version = "0.4.3";
src = pkgs.fetchFromGitHub {
owner = "BurntSushi";
repo = pname;
rev = version;
sha256 = "sha256-nD/qFqq1DOmNZGW4g9Xjpwob/T7d6egFdFMNFG+N+f0=";
};
cargoSha256 = "sha256-frNoGzeOPo/gUksaquiFdRhUd486BABcoznW29FzIK8=";
doCheck = false;
};

# Should match .nvmrc
# Also see: https://nixos.wiki/wiki/Node.js#Example_nix_shell_for_Node.js_development
# (but note building Node from source takes aaages)
Expand All @@ -34,6 +47,7 @@ in pkgs.mkShell {
pkgs.cargo-audit
pkgs.cargo-outdated
pkgs.cargo-tarpaulin
cargo-benchcmp
nodejs
pkgs.ninja
pkgs.openssl
Expand Down

0 comments on commit 28ad311

Please sign in to comment.