2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, mkdocs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mkdocs-git-authors-plugin";
|
|
|
|
version = "0.7.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|