mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
52 lines
1 KiB
Nix
52 lines
1 KiB
Nix
{
|
|
# Evaluation
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
|
|
# Build
|
|
setuptools,
|
|
|
|
# Dependencies
|
|
gitpython,
|
|
mkdocs,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-git-committers-plugin-2";
|
|
version = "2.5.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ojacques";
|
|
repo = "mkdocs-git-committers-plugin-2";
|
|
tag = version;
|
|
hash = "sha256-PpXgY5RlOeb0mB46gcNVWkSGMZa4WPkCwDUXMxCUjsI=";
|
|
};
|
|
|
|
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/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ mahtaran ];
|
|
};
|
|
}
|