You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
712 B

2 years ago
  1. { lib, rustToolchain, rustPlatform, fetchFromGitHub }:
  2. rustPlatform.buildRustPackage rec {
  3. pname = "grcov";
  4. version = "v0.8.2";
  5. # See https://nixos.org/manual/nixpkgs/stable/#using-community-rust-overlays
  6. nativeBuildInputs = [
  7. rustToolchain
  8. ];
  9. doCheck = false;
  10. src = fetchFromGitHub {
  11. owner = "mozilla";
  12. repo = pname;
  13. rev = version;
  14. sha256 = "t1Gj5u4MmXPbQ5jmO9Sstn7aXJ6Ge+AnsmmG2GiAGKE=";
  15. };
  16. cargoSha256 = "DRAUeDzNUMg0AGrqU1TdrqBZJw4A2o3YJB0MdwwzefQ=";
  17. meta = with lib; {
  18. description = "grcov collects and aggregates code coverage information for multiple source files.";
  19. homepage = "https://github.com/mozilla/grcov";
  20. license = licenses.mpl20;
  21. };
  22. }