mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
32 lines
786 B
Nix
32 lines
786 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-mutants";
|
|
version = "24.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sourcefrog";
|
|
repo = "cargo-mutants";
|
|
rev = "v${version}";
|
|
hash = "sha256-A4DlHJKKopReKVF14w3c4wUXJe/vYUzbwMswuvMGs/E=";
|
|
};
|
|
|
|
cargoHash = "sha256-QyQrLkLDvnytojf92P+INYlvfBc+t3240O2cx36CzTU=";
|
|
|
|
# too many tests require internet access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Mutation testing tool for Rust";
|
|
mainProgram = "cargo-mutants";
|
|
homepage = "https://github.com/sourcefrog/cargo-mutants";
|
|
changelog = "https://github.com/sourcefrog/cargo-mutants/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|