Merge pull request #141454 from newAM/cargo-deadlinks

cargo-deadlinks: 0.8.0 -> 0.8.1
This commit is contained in:
Ryan Burns 2021-10-12 23:41:45 -07:00 committed by GitHub
commit fdd348249b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,22 +2,20 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-deadlinks";
version = "0.8.0";
version = "0.8.1";
src = fetchFromGitHub {
owner = "deadlinks";
repo = pname;
rev = "${version}";
sha256 = "1zd5zgq3346xijllr0qdvvmsilpawisrqgdmsqir8v3bk55ybj4g";
sha256 = "0s5q9aghncsk9834azn5cgnn5ms3zzyjan2rq06kaqcgzhld4cjh";
};
cargoSha256 = "1ar3iwpy9mng4j09z4g3ynxra2qwc8454dnc0wjal4h16fk8gxwv";
cargoSha256 = "00g06zf0m1wry0mhf098pw99kbb99d8a17985pb90yf1w74rdkh6";
checkFlags = [
# uses internet
"--skip non_existent_http_link --skip working_http_check"
# expects top-level directory to be named "cargo-deadlinks"
"--skip simple_project::it_checks_okay_project_correctly"
];
buildInputs = lib.optional stdenv.isDarwin Security;
@ -25,6 +23,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Cargo subcommand to check rust documentation for broken links";
homepage = "https://github.com/deadlinks/cargo-deadlinks";
changelog = "https://github.com/deadlinks/cargo-deadlinks/blob/${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ newam ];
};