Files
nixpkgs/pkgs/development/python-modules/mkdocs-linkcheck/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
1.1 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
}:
buildPythonPackage {
pname = "mkdocs-linkcheck";
version = "unstable-2021-08-24";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "byrnereese";
repo = "linkchecker-mkdocs";
rev = "a75d765b0ec564e5ed0218880ed0b5ab4b973917";
hash = "sha256-z59F7zUKZKIQSiTlE6wGbGDecPMeruNgltWUYfDf8jY=";
};
propagatedBuildInputs = [
aiohttp
requests
];
pythonImportsCheck = [ "mkdocs_linkcheck" ];
meta = {
description = "Validate links in Markdown files for static site generators like MkDocs, Hugo or Jekyll";
mainProgram = "mkdocs-linkcheck";
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ totoroot ];
};
}