cargo-bisect-rustc: 0.6.4 -> 0.6.5

This commit is contained in:
Theodore Ni 2022-12-03 06:48:24 -08:00
parent 813836d64f
commit d812d3939b
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, rustPlatform
, pkg-config
, openssl
@ -12,13 +13,13 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-bisect-rustc";
version = "0.6.4";
version = "0.6.5";
src = fetchFromGitHub {
owner = "rust-lang";
repo = pname;
rev = "v${version}";
hash = "sha256-dJpdAg+A7TYm6bGq73aA15hIymbJ56ScyygQLiEboak=";
hash = "sha256-E9birF4HmyDZKmwuTb5K4AMmvZQFTmnhFGSxD5bS2qQ=";
};
patches =
@ -37,7 +38,13 @@ rustPlatform.buildRustPackage rec {
--subst-var libPath
'';
in
lib.optionals stdenv.isLinux [ patchelfPatch ];
lib.optionals stdenv.isLinux [ patchelfPatch ] ++ [
(fetchpatch {
name = "fix-cli-date-bounds-checking.patch";
url = "https://github.com/rust-lang/cargo-bisect-rustc/commit/baffa98e1a1ae53f6f3605303e0d765015d9d3ae.patch";
hash = "sha256-IQlwQvaPUzPK5T4Mbsrdt7Ea3elaPCw2pBCCdBhjtzM=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
@ -46,16 +53,15 @@ rustPlatform.buildRustPackage rec {
Security
];
cargoHash = "sha256-Y/CQcIgdG8dCvPF5bmJDySmgzRi6lFU/aJxkyUjYlAM=";
cargoHash = "sha256-7tqo8cxAzoDfTU372uW1qUhm+qqyRhz8bQ7oMiRU528=";
checkFlags = [
"--skip cli_tests" # https://github.com/rust-lang/cargo-bisect-rustc/issues/226
"--skip test_github" # requires internet
];
meta = with lib; {
description = "Bisects rustc, either nightlies or CI artifacts";
homepage = "https://github.com/rust-lang/${pname}";
homepage = "https://github.com/rust-lang/cargo-bisect-rustc";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ davidtwco ];
};