1{ 2 buildPythonPackage, 3 fetchzip, 4 isPy3k, 5 lib, 6 mkdocs, 7}: 8 9buildPythonPackage { 10 pname = "mkdocs-gitlab-plugin"; 11 version = "0.1.4"; 12 format = "setuptools"; 13 14 disabled = !isPy3k; 15 16 src = fetchzip { 17 url = "https://gitlab.inria.fr/vidjil/mkdocs-gitlab-plugin/-/archive/fb87fbfd404839e661a799c540664b1103096a5f/mkdocs-gitlab-plugin-fb87fbfd404839e661a799c540664b1103096a5f.tar.gz"; 18 hash = "sha256-z+U0PRwymDDXVNM7a2Yl4pNNVBxpx/BhJnlx6kgyvww="; 19 }; 20 21 patches = [ ./mkdocs-gitlab-plugin.diff ]; 22 23 propagatedBuildInputs = [ mkdocs ]; 24 25 pythonImportsCheck = [ "mkdocs_gitlab_plugin" ]; 26 27 meta = with lib; { 28 description = "MkDocs plugin to transform strings such as #1234, %56, or !789 into links to a Gitlab repository"; 29 homepage = "https://gitlab.inria.fr/vidjil/mkdocs-gitlab-plugin"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ snpschaaf ]; 32 longDescription = '' 33 Plugin for MkDocs. 34 Transform handles such as #1234, %56, !789, &12 or $34 into links to a gitlab repository, 35 given by the gitlab_url configuration option. 36 Before the #/%/!/&/$ is needed either a space, a '(', or a '['. 37 ''; 38 }; 39}