Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mkdocs-git-revision-date-localized-plugin / default.nix
blobc885727a25384abfee9228d89de5199fec819eb9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , babel
6 , gitpython
7 , mkdocs
8 , pytz
9 , pytestCheckHook
10 , git
13 buildPythonPackage rec {
14   pname = "mkdocs-git-revision-date-localized-plugin";
15   version = "1.2.4";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "timvink";
22     repo = "mkdocs-git-revision-date-localized-plugin";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-sN3cuRjB3zkwp0xYoH20IJ8edXqi5rw66e3N4DuNqVU=";
25   };
27   propagatedBuildInputs = [
28     babel
29     gitpython
30     mkdocs
31     pytz
32   ];
34   nativeCheckInputs = [ pytestCheckHook ];
36   disabledTestPaths = [
37     "tests/test_builds.py"
38   ];
40   pythonImportsCheck = [ "mkdocs_git_revision_date_localized_plugin" ];
42   meta = with lib; {
43     description = "MkDocs plugin that enables displaying the date of the last git modification of a page";
44     homepage = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin";
45     changelog = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ totoroot ];
48   };