mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
lychee: 0.23.0 -> 0.24.1
This commit is contained in:
@@ -51,7 +51,7 @@ let
|
||||
passthru = {
|
||||
inherit lychee remap;
|
||||
config = {
|
||||
include_fragments = true;
|
||||
include_fragments = "full";
|
||||
}
|
||||
// lib.optionalAttrs (finalAttrs.passthru.remap != { }) {
|
||||
remap = mapAttrsToList (
|
||||
|
||||
@@ -16,7 +16,7 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "lychee";
|
||||
version = "0.23.0";
|
||||
version = "0.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lycheeverse";
|
||||
@@ -31,10 +31,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
'("cargo:rustc-env=GIT_DATE={}", "'$GIT_DATE'")'
|
||||
rm -rf $out/.git
|
||||
'';
|
||||
hash = "sha256-Rfdys16a4N6B3NsmPsB3OpKjLGElFYvd4UtiRipy8iQ=";
|
||||
hash = "sha256-lknj0uTIWYwDm3PA/Q8paVxRn+B9qvfllYUjnp7I4jI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-5KL/PmBSU8xkOE9/w7uUBkJSOBPsj3Z4o/2VmzA/f3Q=";
|
||||
cargoHash = "sha256-ivLx48qbagjw5zGkYC+ygK83p8q110iEn2YEfUjTFHs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
@@ -45,6 +45,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
postFixup = lib.optionalString canRun ''
|
||||
${lychee} --generate man > lychee.1
|
||||
installManPage lychee.1
|
||||
|
||||
installShellCompletion --cmd lychee \
|
||||
--bash <(${lychee} --generate complete-bash) \
|
||||
--fish <(${lychee} --generate complete-fish) \
|
||||
--zsh <(${lychee} --generate complete-zsh)
|
||||
'';
|
||||
|
||||
cargoTestFlags = [
|
||||
|
||||
Reference in New Issue
Block a user