Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mkdocs-git-revision-date-localized-plugin / default.nix
blob986f0d1d2ce6648f620f88364921fa85cccb1b2b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , gitpython
6 , mkdocs
7 , pytz
8 , pytestCheckHook
9 , git
12 buildPythonPackage rec {
13   pname = "mkdocs-git-revision-date-localized-plugin";
14   version = "1.2.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "timvink";
21     repo = "mkdocs-git-revision-date-localized-plugin";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-UIbW64ac9kXptJjn86V6vPArnICANiT3QGi5JH45KLY=";
24   };
26   propagatedBuildInputs = [
27     gitpython
28     mkdocs
29     pytz
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   disabledTestPaths = [
35     "tests/test_builds.py"
36   ];
38   pythonImportsCheck = [ "mkdocs_git_revision_date_localized_plugin" ];
40   meta = with lib; {
41     description = "MkDocs plugin that enables displaying the date of the last git modification of a page";
42     homepage = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin";
43     changelog = "https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases/tag/v${version}";
44     license = licenses.mit;
45     maintainers = with maintainers; [ totoroot ];
46   };