blob: 193b8372ffd947d4d6155bd2cd1f24b8fb9ae0dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
babel,
gitpython,
mkdocs,
pytz,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mkdocs-git-revision-date-localized-plugin";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "timvink";
repo = "mkdocs-git-revision-date-localized-plugin";
tag = "v${version}";
hash = "sha256-3Txfb4ErY8moCBlXp6DgrL5BXTggu8XMa3sU4AfRS8U=";
};
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 = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ totoroot ];
};
}
|