mdbook-linkcheck2: init at 0.12.0 (#491741)
This commit is contained in:
@@ -23952,6 +23952,12 @@
|
||||
githubId = 15986681;
|
||||
name = "Simon Bruder";
|
||||
};
|
||||
scandiravian = {
|
||||
email = "nixos@scandiravian.com";
|
||||
github = "scandiravian";
|
||||
githubId = 13556969;
|
||||
name = "Scandiravian";
|
||||
};
|
||||
scd31 = {
|
||||
name = "scd31";
|
||||
github = "scd31";
|
||||
|
||||
@@ -243,6 +243,8 @@ See <https://github.com/NixOS/nixpkgs/issues/481673>.
|
||||
`component.settings`. The unix module now supports using SSH keys from Kanidm via
|
||||
`services.kanidm.unix.sshIntegration = true`.
|
||||
|
||||
- `mdbook-linkcheck` has been removed as it is unmaintained and incompatible with the latest version of `mdbook`. Users can instead migrate to `mdbook-linkcheck2`.
|
||||
|
||||
- `glibc` has been updated to version 2.42.
|
||||
|
||||
This version no longer makes the stack executable when a shared library requires this. A symptom
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
testers,
|
||||
mdbook-linkcheck,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mdbook-linkcheck";
|
||||
version = "0.7.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Michael-F-Bryan";
|
||||
repo = "mdbook-linkcheck";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-ZbraChBHuKAcUA62EVHZ1RygIotNEEGv24nhSPAEj00=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Tt7ljjWv2CMtP/ELZNgSH/ifmBk/42+E0r9ZXQEJNP8=";
|
||||
|
||||
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ];
|
||||
|
||||
nativeBuildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ];
|
||||
|
||||
env.OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
doCheck = false; # tries to access network to test broken web link functionality
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = mdbook-linkcheck; };
|
||||
|
||||
meta = {
|
||||
description = "Backend for `mdbook` which will check your links for you";
|
||||
mainProgram = "mdbook-linkcheck";
|
||||
homepage = "https://github.com/Michael-F-Bryan/mdbook-linkcheck";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
zhaofengli
|
||||
matthiasbeyer
|
||||
];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
testers,
|
||||
mdbook-linkcheck2,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "mdbook-linkcheck2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marxin";
|
||||
repo = "mdbook-linkcheck2";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-SvheBEIWiL1zdYeMQalbBeAQC86DycqV1/PTA+0S7Gg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-s4nvVHl/bViIxZfqc4SxSnCCYIY/hxy0C7f2/9ztqts=";
|
||||
|
||||
doCheck = false; # tries to access network to test broken web link functionality
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = mdbook-linkcheck2; };
|
||||
|
||||
meta = {
|
||||
description = "Backend for mdbook which will check your links for you";
|
||||
mainProgram = "mdbook-linkcheck2";
|
||||
homepage = "https://github.com/marxin/mdbook-linkcheck2";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
scandiravian
|
||||
];
|
||||
};
|
||||
})
|
||||
@@ -50,7 +50,6 @@ assert lib.assertMsg (
|
||||
lsof,
|
||||
mercurial,
|
||||
mdbook,
|
||||
mdbook-linkcheck,
|
||||
nlohmann_json,
|
||||
ninja,
|
||||
openssl,
|
||||
@@ -179,7 +178,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals enableDocumentation [
|
||||
(lib.getBin lowdown-unsandboxed)
|
||||
mdbook
|
||||
mdbook-linkcheck
|
||||
doxygen
|
||||
]
|
||||
++ lib.optionals (hasDtraceSupport && withDtrace) [ systemtap-sdt ]
|
||||
|
||||
@@ -45,7 +45,6 @@ assert (hash == null) -> (src != null);
|
||||
meson,
|
||||
ninja,
|
||||
mdbook,
|
||||
mdbook-linkcheck,
|
||||
nlohmann_json,
|
||||
nixosTests,
|
||||
openssl,
|
||||
@@ -116,7 +115,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals enableDocumentation [
|
||||
(lib.getBin lowdown-unsandboxed)
|
||||
mdbook
|
||||
mdbook-linkcheck
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
util-linuxMinimal
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
ninja,
|
||||
lowdown-unsandboxed,
|
||||
mdbook,
|
||||
mdbook-linkcheck,
|
||||
jq,
|
||||
python3,
|
||||
rsync,
|
||||
@@ -35,7 +34,6 @@ mkMesonDerivation (finalAttrs: {
|
||||
ninja
|
||||
(lib.getBin lowdown-unsandboxed)
|
||||
mdbook
|
||||
mdbook-linkcheck
|
||||
jq
|
||||
python3
|
||||
rsync
|
||||
|
||||
@@ -1296,6 +1296,7 @@ mapAliases {
|
||||
matrix-synapse-tools.synadm = throw "'matrix-synapse-tools.synadm' has been renamed to/replaced by 'synadm'"; # Converted to throw 2025-10-27
|
||||
mcomix3 = throw "'mcomix3' has been renamed to/replaced by 'mcomix'"; # Converted to throw 2025-10-27
|
||||
mdbook-alerts = throw "'mdbook-alerts' has been removed because it is deprecated and natively supported by mdbook since version 0.5.0"; # Added 2026-01-07
|
||||
mdbook-linkcheck = throw "'mdbook-linkcheck' has been removed and replaced by 'mdbook-linkcheck2' due to incompatibility with mdbook version 0.5.0+"; # Added 2026-03-03
|
||||
mdt = throw "'mdt' has been renamed to/replaced by 'md-tui'"; # Converted to throw 2025-10-27
|
||||
mediastreamer = throw "'mediastreamer' has been moved to 'linphonePackages.mediastreamer2'"; # Added 2025-09-20
|
||||
mediastreamer-openh264 = throw "'mediastreamer-openh264' has been moved to 'linphonePackages.msopenh264'"; # Added 2025-09-20
|
||||
|
||||
Reference in New Issue
Block a user