Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
setuptools-scm,
|
|
babel,
|
|
gitpython,
|
|
mkdocs,
|
|
pytz,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-git-revision-date-localized-plugin";
|
|
version = "1.4.7";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timvink";
|
|
repo = "mkdocs-git-revision-date-localized-plugin";
|
|
tag = "v${version}";
|
|
hash = "sha256-xSm+Qvk1DU5CEZpR+69oIAKnIrg/J7iECNHEZQlf/7o=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
babel
|
|
gitpython
|
|
mkdocs
|
|
pytz
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
disabledTestPaths = [ "tests/test_builds.py" ];
|
|
|
|
pythonImportsCheck = [ "mkdocs_git_revision_date_localized_plugin" ];
|
|
|
|
meta = with lib; {
|
|
description = "MkDocs plugin that enables displaying the date of the last git modification of a page";
|
|
homepage = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin";
|
|
changelog = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ totoroot ];
|
|
};
|
|
}
|