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.2";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.8";
15
16 src = fetchFromGitHub {
17 owner = "timvink";
18 repo = "mkdocs-git-authors-plugin";
19 tag = "v${version}";
20 hash = "sha256-2ITro34lZ+tz7ev7Yuh1wJjsSNik6VUTt3dupIajmLU=";
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}