depot/third_party/nixpkgs/pkgs/tools/package-management/cargo-kcov/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

26 lines
643 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-kcov";
version = "0.5.2";
src = fetchFromGitHub {
owner = "kennytm";
repo = pname;
rev = "v${version}";
sha256 = "0hqplgj3i8js42v2kj44khk543a93sk3n6wlfpv3c84pdqlm29br";
};
cargoSha256 = "0m5gfyjzzwd8wkbb388vmd785dy334x0migq3ssi7dlah9zx62bj";
doCheck = false;
meta = with lib; {
description = "Cargo subcommand to run kcov to get coverage report on Linux";
homepage = "https://github.com/kennytm/cargo-kcov";
license = with licenses; [ mit ];
maintainers = with maintainers; [ saschagrunert ];
};
}