567e8dfd8e
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>
33 lines
738 B
Nix
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 ];
|
|
};
|
|
}
|