mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Merge pull request #242850 from totoroot/init/pythonPackages.mkdocs-git-authors-plugin
This commit is contained in:
commit
e0d40b9473
|
@ -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-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
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-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
|
|
Loading…
Reference in a new issue