mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-11 16:41:28 +01:00
env setup (#6)
This commit is contained in:
28
nix/grcov/default.nix
Normal file
28
nix/grcov/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib, rustToolchain, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "grcov";
|
||||
version = "v0.8.2";
|
||||
|
||||
# See https://nixos.org/manual/nixpkgs/stable/#using-community-rust-overlays
|
||||
nativeBuildInputs = [
|
||||
rustToolchain
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "t1Gj5u4MmXPbQ5jmO9Sstn7aXJ6Ge+AnsmmG2GiAGKE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "DRAUeDzNUMg0AGrqU1TdrqBZJw4A2o3YJB0MdwwzefQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "grcov collects and aggregates code coverage information for multiple source files.";
|
||||
homepage = "https://github.com/mozilla/grcov";
|
||||
license = licenses.mpl20;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user