lychee: 0.16.1 -> 0.17.0 (#358127)

This commit is contained in:
Nick Cao 2024-11-23 09:29:30 -05:00 committed by GitHub
commit 7702925ebd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 21 deletions

View File

@ -1,32 +1,29 @@
{ callPackage
, lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, Security
, SystemConfiguration
, testers
{
callPackage,
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "lychee";
version = "0.16.1";
version = "0.17.0";
src = fetchFromGitHub {
owner = "lycheeverse";
repo = pname;
rev = "lychee-v${version}";
hash = "sha256-H8iNgyLnzgfUPEVPlDosb6l99efrzM+/RIQ7X7nh4Ks=";
hash = "sha256-flfKo7rN2//ho6q7Iv8tDK8d+5kjpAYELZZHwwZaV/E=";
};
cargoHash = "sha256-cvEAy0Tx892dsd4zeh5D0fy4hoNBaZ2Q++IStbMbUhY=";
cargoHash = "sha256-K0B1o27vXCoQPt1FoX1AXLeYUHiNVzYStU/dkpw6+xQ=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
buildInputs = [ openssl ];
checkFlags = [
# Network errors for all of these tests
@ -55,12 +52,18 @@ rustPlatform.buildRustPackage rec {
network = testers.runNixOSTest ./tests/network.nix;
};
meta = with lib; {
meta = {
description = "Fast, async, stream-based link checker written in Rust";
homepage = "https://github.com/lycheeverse/lychee";
downloadPage = "https://github.com/lycheeverse/lychee/releases/tag/lychee-v${version}";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ totoroot tuxinaut ];
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [
totoroot
tuxinaut
];
mainProgram = "lychee";
};
}

View File

@ -3229,9 +3229,7 @@ with pkgs;
kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };
lychee = callPackage ../tools/networking/lychee {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
lychee = callPackage ../tools/networking/lychee { };
mozwire = callPackage ../tools/networking/mozwire {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;