Merge pull request #132716 from AtkinsChang/cargo-tarpualin
cargo-tarpaulin: support darwin
This commit is contained in:
commit
ad123963b3
@ -1,4 +1,4 @@
|
||||
{ lib, pkg-config, rustPlatform, fetchFromGitHub, openssl }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, curl, openssl, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-tarpaulin";
|
||||
@ -14,7 +14,8 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ curl Security ];
|
||||
|
||||
cargoSha256 = "sha256-1lFGczzcN4QPsIpEVQiSmNS7L+9rlSfxi+gopt2E7Ec=";
|
||||
#checkFlags = [ "--test-threads" "1" ];
|
||||
@ -25,6 +26,5 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/xd009642/tarpaulin";
|
||||
license = with licenses; [ mit /* or */ asl20 ];
|
||||
maintainers = with maintainers; [ hugoreeves ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -12155,7 +12155,9 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-rr = callPackage ../development/tools/rust/cargo-rr { };
|
||||
cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin { };
|
||||
cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-update = callPackage ../tools/package-management/cargo-update {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user