Skip to content

Commit

Permalink
lychee: init at 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxinaut committed Mar 19, 2021
1 parent 70ed6f5 commit f67c929
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/tools/networking/lychee/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:

rustPlatform.buildRustPackage rec {
pname = "lychee";
version = "0.5.0";

src = fetchFromGitHub {
owner = "lycheeverse";
repo = pname;
rev = "v${version}";
sha256 = "03dsp0384mwr51dkqfl25xba0m17sppabiz7slhxcig89b0ksykm";
};

cargoSha256 = "08y2wpm2qgm2jsy257b2p2anxy4q3bj2kfdr5cnb6wnaz9g4ypq2";

nativeBuildInputs = [ pkg-config ];

buildInputs = [ openssl ];

# Disabled because they currently fail
doCheck = false;

meta = with lib; {
description = "A fast, async, resource-friendly link checker written in Rust.";
homepage = "https://github.com/lycheeverse/lychee";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ tuxinaut ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3928,6 +3928,8 @@ in

kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };

lychee = callPackage ../tools/networking/lychee { };

magic-vlsi = callPackage ../applications/science/electronics/magic-vlsi { };

mcrcon = callPackage ../tools/networking/mcrcon {};
Expand Down

0 comments on commit f67c929

Please sign in to comment.