2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pythonOlder,
|
|
|
|
pythonPackages,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mkdocs-linkcheck";
|
|
|
|
version = "unstable-2021-08-24";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "byrnereese";
|
|
|
|
repo = "linkchecker-mkdocs";
|
2024-06-05 15:53:02 +00:00
|
|
|
rev = "a75d765b0ec564e5ed0218880ed0b5ab4b973917";
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-z59F7zUKZKIQSiTlE6wGbGDecPMeruNgltWUYfDf8jY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
aiohttp
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mkdocs_linkcheck" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Validate links in Markdown files for static site generators like MkDocs, Hugo or Jekyll";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "mkdocs-linkcheck";
|
2023-08-04 22:07:22 +00:00
|
|
|
longDescription = ''
|
|
|
|
This is not a MkDocs plugin, but a companion tool that is useful to validate links in Markdown files for
|
|
|
|
static site generators like MkDocs, Hugo or Jekyll. It can be used with any text files containing links.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/byrnereese/mkdocs-linkcheck";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ totoroot ];
|
|
|
|
};
|
|
|
|
}
|