1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "mkdocs-linkcheck";
|
|
version = "unstable-2021-08-24";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|