1
0
Fork 1
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:
Janik 2023-07-27 22:57:51 +02:00 committed by GitHub
commit e0d40b9473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };