mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
python3Packages.mkdocs-git-revision-date-localized-plugin: init at 1.2.0
This commit is contained in:
parent
7c48fc21a3
commit
821a77962d
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, gitpython
|
||||
, mkdocs
|
||||
, pytz
|
||||
, pytestCheckHook
|
||||
, git
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-git-revision-date-localized-plugin";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timvink";
|
||||
repo = "mkdocs-git-revision-date-localized-plugin";
|
||||
rev = "v${version}" ;
|
||||
hash = "sha256-l7NUmsdd1FHkbdqtRcMQBfplZJgLCXrN+QuYaQLpz0k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
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/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ totoroot ];
|
||||
};
|
||||
}
|
@ -6541,6 +6541,7 @@ self: super: with self; {
|
||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||
mkdocs-git-authors-plugin = callPackage ../development/python-modules/mkdocs-git-authors-plugin { };
|
||||
mkdocs-git-revision-date-localized-plugin = callPackage ../development/python-modules/mkdocs-git-revision-date-localized-plugin { };
|
||||
mkdocs-linkcheck = callPackage ../development/python-modules/mkdocs-linkcheck { };
|
||||
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
|
Loading…
Reference in New Issue
Block a user