3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/lychee/default.nix

36 lines
807 B
Nix
Raw Normal View History

2021-03-19 19:15:08 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "lychee";
2021-04-19 22:02:23 +01:00
version = "0.7.0";
2021-03-19 19:15:08 +00:00
src = fetchFromGitHub {
owner = "lycheeverse";
repo = pname;
2021-04-19 22:02:23 +01:00
rev = version;
sha256 = "0kpwpbv0dqb0p4bxjlcjas6x1n91rdsvy2psrc1nyr1sh6gb1q5j";
2021-03-19 19:15:08 +00:00
};
2021-04-19 22:02:23 +01:00
cargoSha256 = "1b915zkg41n3azk4hhg6fgc83n7iq8p7drvdyil2m2a4qdjvp9r3";
2021-03-19 19:15:08 +00:00
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;
};
}