lychee: 0.11.1 -> 0.13.0

This commit is contained in:
Matthias Thym 2023-08-04 14:31:12 +02:00
parent 9f8d4f0d4b
commit 8d5f81b3f8
2 changed files with 4464 additions and 7 deletions

4439
pkgs/tools/networking/lychee/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -9,29 +9,47 @@
rustPlatform.buildRustPackage rec {
pname = "lychee";
version = "0.11.1";
version = "0.13.0";
src = fetchFromGitHub {
owner = "lycheeverse";
repo = pname;
rev = "v${version}";
sha256 = "sha256-fOD28O6ycRIniQz841PGJzEFGtYord/y44mdqyAmNDg=";
hash = "sha256-JUyoOtlypDWK6HxsonVzbfQAdcXk728a8gVI/5GI2fs=";
};
cargoHash = "sha256-r089P2VOeIIW0FjkO4oqVXbrxDND4loagVfVMm5EtaE=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"criterion-0.4.0" = "sha256-0EKLRdxbH2czkZjmuaYLzkTBU687y6Iw9yqNV2TbsDw=";
};
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security ];
# Disabled because they currently fail
doCheck = false;
checkFlags = [
# Network errors for all of these tests
# "error reading DNS system conf: No such file or directory (os error 2)" } }
"--skip=archive::wayback::tests::wayback_suggestion"
"--skip=archive::wayback::tests::wayback_suggestion_unknown_url"
"--skip=cli::test_dont_dump_data_uris_by_default"
"--skip=cli::test_dump_data_uris_in_verbose_mode"
"--skip=cli::test_exclude_example_domains"
"--skip=cli::test_local_dir"
"--skip=cli::test_local_file"
"--skip=client::tests"
"--skip=collector::tests"
"--skip=src/lib.rs"
];
meta = with lib; {
description = "A fast, async, resource-friendly link checker written in Rust.";
description = "A fast, async, stream-based link checker written in Rust.";
homepage = "https://github.com/lycheeverse/lychee";
downloadPage = "https://github.com/lycheeverse/lychee/releases/tag/v${version}";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ tuxinaut ];
maintainers = with maintainers; [ totoroot tuxinaut ];
};
}