about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mkdocs-material/mkdocs-material-extensions.nix
blob: 239d3507d59b3b230f2df48af5d6bc096f76b02f (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
{ lib
, fetchFromGitHub
, buildPythonPackage
, hatchling
}:

buildPythonPackage rec {
  pname = "mkdocs-material-extensions";
  version = "1.3.1";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "facelessuser";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-/jU30Ol10/4haR3ZPJWZ3iWRfXG/RUOU1oclOYGjjAY=";
  };

  nativeBuildInputs = [
    hatchling
  ];

  doCheck = false; # Circular dependency

  pythonImportsCheck = [ "materialx" ];

  meta = with lib; {
    description = "Markdown extension resources for MkDocs Material";
    homepage = "https://github.com/facelessuser/mkdocs-material-extensions";
    license = licenses.mit;
    maintainers = with maintainers; [ dandellion ];
  };
}