Skip to content

Commit

Permalink
python3Packages.mkdocs-git-committers-plugin-2: init at 2.4.1 (NixOS#…
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Jan 3, 2025
2 parents c7cbb2a + c61fc34 commit af26fbc
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
11 changes: 11 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13756,6 +13756,17 @@
githubId = 24735185;
name = "Mahmoud Ayman";
};
mahtaran = {
email = "[email protected]";
github = "mahtaran";
githubId = 22727323;
name = "Luka Leer";
keys = [
{
fingerprint = "C7FF B72E 0527 423A D470 E132 AA82 C4EB CB16 82E0";
}
];
};
majesticmullet = {
email = "[email protected]";
github = "MajesticMullet";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
# 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 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit af26fbc

Please sign in to comment.