Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 babel, 7 gitpython, 8 mkdocs, 9 pytz, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "mkdocs-git-revision-date-localized-plugin"; 15 version = "1.2.9"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "timvink"; 22 repo = "mkdocs-git-revision-date-localized-plugin"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-1SuENREPkU9W5ldMIXDCALLMx0AiTs4dNYJYjrkaegc="; 25 }; 26 27 propagatedBuildInputs = [ 28 babel 29 gitpython 30 mkdocs 31 pytz 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 disabledTestPaths = [ "tests/test_builds.py" ]; 37 38 pythonImportsCheck = [ "mkdocs_git_revision_date_localized_plugin" ]; 39 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 }; 47}