summary refs log tree commit diff
path: root/pkgs/tools/networking/lychee
diff options
context:
space:
mode:
authorDenny Schäfer <denny.schaefer@tuxinaut.de>2021-03-19 20:15:08 +0100
committerDenny Schäfer <denny.schaefer@tuxinaut.de>2021-03-19 20:15:23 +0100
commitf67c929ab241aff3826262ed72091bb30a207eed (patch)
treeadd6c0b881bcec1f6da5aca0267eb08bbe8b20ef /pkgs/tools/networking/lychee
parent70ed6f5feefba378f910856edfca6bcee4a1ca83 (diff)
downloadnixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar.gz
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar.bz2
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar.lz
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar.xz
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.tar.zst
nixpkgs-f67c929ab241aff3826262ed72091bb30a207eed.zip
lychee: init at 0.5.0
Diffstat (limited to 'pkgs/tools/networking/lychee')
-rw-r--r--pkgs/tools/networking/lychee/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/networking/lychee/default.nix b/pkgs/tools/networking/lychee/default.nix
new file mode 100644
index 00000000000..40353ea278c
--- /dev/null
+++ b/pkgs/tools/networking/lychee/default.nix
@@ -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;
+  };
+}