mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
pythonPackages.mkdocs-linkcheck: init at unstable-2021-08-24
This commit is contained in:
parent
c9e26d7d3a
commit
31aab03f3d
pkgs
38
pkgs/development/python-modules/mkdocs-linkcheck/default.nix
Normal file
38
pkgs/development/python-modules/mkdocs-linkcheck/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pythonPackages
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-linkcheck";
|
||||
version = "unstable-2021-08-24";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "byrnereese";
|
||||
repo = "linkchecker-mkdocs";
|
||||
rev = "a75d765b0ec564e5ed0218880ed0b5ab4b973917" ;
|
||||
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";
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -6456,6 +6456,7 @@ self: super: with self; {
|
||||
mkdocs-exclude = callPackage ../development/python-modules/mkdocs-exclude { };
|
||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||
mkdocs-linkcheck = callPackage ../development/python-modules/mkdocs-linkcheck { };
|
||||
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user