cargo-mutants: init at 23.6.0
https://github.com/sourcefrog/cargo-mutants
This commit is contained in:
parent
d3e0eb0fd8
commit
61cc0a0818
35
pkgs/development/tools/rust/cargo-mutants/default.nix
Normal file
35
pkgs/development/tools/rust/cargo-mutants/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-mutants";
|
||||||
|
version = "23.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sourcefrog";
|
||||||
|
repo = "cargo-mutants";
|
||||||
|
rev = "cargo-mutants-${version}";
|
||||||
|
hash = "sha256-qgsranCZnorEZuCgUj0LmkL0dcfarWa0q/9Uupsf4jQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-BW9itNgVOiaKMzaRl3d60BIV5V82+5D0+QKSnGcvFnI=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
|
];
|
||||||
|
|
||||||
|
# too many tests require internet access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A mutation testing tool for Rust";
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -16634,6 +16634,7 @@ with pkgs;
|
|||||||
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
cargo-mutants = callPackage ../development/tools/rust/cargo-mutants { };
|
||||||
|
|
||||||
cargo-ndk = callPackage ../development/tools/rust/cargo-ndk {
|
cargo-ndk = callPackage ../development/tools/rust/cargo-ndk {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation;
|
inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user