1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 mkdocs,
7}:
8
9buildPythonPackage rec {
10 pname = "mkdocs-git-authors-plugin";
11 version = "0.9.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "timvink";
18 repo = "mkdocs-git-authors-plugin";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-UomcEXWNt5aVE9JxP9wskkHkFYXKN/+jXwr1SXCmeyE=";
21 };
22
23 propagatedBuildInputs = [ mkdocs ];
24
25 pythonImportsCheck = [ "mkdocs_git_authors_plugin" ];
26
27 meta = with lib; {
28 description = "Lightweight MkDocs plugin to display git authors of a markdown page";
29 homepage = "https://github.com/timvink/mkdocs-git-authors-plugin";
30 license = licenses.mit;
31 maintainers = with maintainers; [ totoroot ];
32 };
33}