nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 hatchling,
6}:
7
8buildPythonPackage rec {
9 pname = "mkdocs-material-extensions";
10 version = "1.3.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "facelessuser";
15 repo = "mkdocs-material-extensions";
16 tag = version;
17 hash = "sha256-/jU30Ol10/4haR3ZPJWZ3iWRfXG/RUOU1oclOYGjjAY=";
18 };
19
20 nativeBuildInputs = [ hatchling ];
21
22 doCheck = false; # Circular dependency
23
24 pythonImportsCheck = [ "materialx" ];
25
26 meta = {
27 description = "Markdown extension resources for MkDocs Material";
28 homepage = "https://github.com/facelessuser/mkdocs-material-extensions";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ dandellion ];
31 };
32}