fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
781 B
Nix
33 lines
781 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
mkdocs,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-git-authors-plugin";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timvink";
|
|
repo = "mkdocs-git-authors-plugin";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-UomcEXWNt5aVE9JxP9wskkHkFYXKN/+jXwr1SXCmeyE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|