about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mkdocs-autolinks-plugin/default.nix
blob: 35d3e5c9cc165d4efb7031d97dfa6024094e7ab5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchFromGitHub
, mkdocs
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "mkdocs-autolinks-plugin";
  version = "0.7.1";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "zachhannum";
    repo = "mkdocs-autolinks-plugin";
    # The commit messages mention version 0.7.1, but the tag is v_071.
    rev = "e2b649eb4db23459bcec121838f27c92c81f9ce1";
    hash = "sha256-mEbuB9VwK7po1TqtJfBSkItOVlI3/W3nD2LYRHgPpTA=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [ mkdocs ];

  # Module has no tests.
  doCheck = false;

  pythonImportsCheck = [ "mkdocs_autolinks_plugin" ];

  meta = with lib; {
    description = "An MkDocs plugin that simplifies relative linking between documents";
    homepage = "https://github.com/zachhannum/mkdocs-autolinks-plugin";
    license = licenses.mit;
    maintainers = with maintainers; [ lucas-deangelis ];
  };
}