Unverified Commit af26fbc0 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

python3Packages.mkdocs-git-committers-plugin-2: init at 2.4.1 (#344615)

parents c7cbb2ae c61fc34b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -13756,6 +13756,17 @@
    githubId = 24735185;
    name = "Mahmoud Ayman";
  };
  mahtaran = {
    email = "luka.leer@gmail.com";
    github = "mahtaran";
    githubId = 22727323;
    name = "Luka Leer";
    keys = [
      {
        fingerprint = "C7FF B72E 0527 423A D470  E132 AA82 C4EB CB16 82E0";
      }
    ];
  };
  majesticmullet = {
    email = "hoccthomas@gmail.com.au";
    github = "MajesticMullet";
+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
@@ -8254,6 +8254,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 { };