Files
nixpkgs/pkgs/development/python-modules/mkdocs-material/mkdocs-material-extensions.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
738 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
hatchling,
}:
buildPythonPackage rec {
pname = "mkdocs-material-extensions";
version = "1.3.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "facelessuser";
repo = "mkdocs-material-extensions";
tag = version;
hash = "sha256-/jU30Ol10/4haR3ZPJWZ3iWRfXG/RUOU1oclOYGjjAY=";
};
nativeBuildInputs = [ hatchling ];
doCheck = false; # Circular dependency
pythonImportsCheck = [ "materialx" ];
meta = {
description = "Markdown extension resources for MkDocs Material";
homepage = "https://github.com/facelessuser/mkdocs-material-extensions";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dandellion ];
};
}