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