diff --git a/pkgs/tools/networking/lychee/default.nix b/pkgs/tools/networking/lychee/default.nix index 3dcab69087247..342e07e010e0e 100644 --- a/pkgs/tools/networking/lychee/default.nix +++ b/pkgs/tools/networking/lychee/default.nix @@ -10,21 +10,28 @@ rustPlatform.buildRustPackage rec { pname = "lychee"; - version = "0.17.0"; + version = "0.18.0"; src = fetchFromGitHub { owner = "lycheeverse"; repo = pname; rev = "lychee-v${version}"; - hash = "sha256-flfKo7rN2//ho6q7Iv8tDK8d+5kjpAYELZZHwwZaV/E="; + hash = "sha256-DRGby8Ov7Mosz4FVz/w2ECkvyuBktL9PTnUYds+mCI8="; }; - cargoHash = "sha256-K0B1o27vXCoQPt1FoX1AXLeYUHiNVzYStU/dkpw6+xQ="; + cargoHash = "sha256-pD8UQEdZwZNAeON4zKYa6nUaz87vx7n/Op8H5NtXRZo="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; + cargoTestFlags = [ + # don't run doctests since they tend to use the network + "--lib" + "--bins" + "--tests" + ]; + checkFlags = [ # Network errors for all of these tests # "error reading DNS system conf: No such file or directory (os error 2)" } }