Merge pull request #242850 from totoroot/init/pythonPackages.mkdocs-git-authors-plugin
This commit is contained in:
commit
e0d40b9473
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, mkdocs
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mkdocs-git-authors-plugin";
|
||||||
|
version = "0.7.2";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "timvink";
|
||||||
|
repo = "mkdocs-git-authors-plugin";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-jhYwi9HO6kxOS1QmEKb1YnXGSJ4Eyo4Sm07jI4lxXnA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ mkdocs ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "mkdocs_git_authors_plugin" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Lightweight MkDocs plugin to display git authors of a markdown page";
|
||||||
|
homepage = "https://github.com/timvink/mkdocs-git-authors-plugin";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ totoroot ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6540,6 +6540,7 @@ self: super: with self; {
|
||||||
mkdocs-exclude = callPackage ../development/python-modules/mkdocs-exclude { };
|
mkdocs-exclude = callPackage ../development/python-modules/mkdocs-exclude { };
|
||||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||||
|
mkdocs-git-authors-plugin = callPackage ../development/python-modules/mkdocs-git-authors-plugin { };
|
||||||
mkdocs-linkcheck = callPackage ../development/python-modules/mkdocs-linkcheck { };
|
mkdocs-linkcheck = callPackage ../development/python-modules/mkdocs-linkcheck { };
|
||||||
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||||
|
|
Loading…
Reference in a new issue