Unverified Commit c61fc34b authored by Luka Leer's avatar Luka Leer
Browse files

python3Packages.mkdocs-git-committers-plugin-2: init at 2.4.1

parent bfc5706c
Loading
Loading
Loading
Loading
+52 −0
Original line number Diff line number Diff line
{
  # Evaluation
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,

  # Build
  setuptools,

  # Dependencies
  gitpython,
  mkdocs,
  requests,
}:

buildPythonPackage rec {
  pname = "mkdocs-git-committers-plugin-2";
  version = "2.4.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "ojacques";
    repo = "mkdocs-git-committers-plugin-2";
    rev = "refs/tags/${version}";
    hash = "sha256-hKt0K5gOkdUDwTlyMTwodl4gD1RD+s+CM+zEpngSnlc=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    gitpython
    mkdocs
    requests
  ];

  # Upstream has no tests
  doCheck = false;
  pythonImportsCheck = [ "mkdocs_git_committers_plugin_2" ];

  meta = {
    description = "MkDocs plugin for displaying a list of contributors on each page";
    homepage = "https://github.com/ojacques/mkdocs-git-committers-plugin-2";
    changelog = "https://github.com/ojacques/mkdocs-git-committers-plugin-2/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ mahtaran ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8167,6 +8167,8 @@ self: super: with self; {
  mkdocs-git-authors-plugin = callPackage ../development/python-modules/mkdocs-git-authors-plugin { };
  mkdocs-git-committers-plugin-2 = callPackage ../development/python-modules/mkdocs-git-committers-plugin-2 { };
  mkdocs-git-revision-date-localized-plugin = callPackage ../development/python-modules/mkdocs-git-revision-date-localized-plugin { };
  mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };