2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildPythonPackage,
|
|
|
|
hatchling,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mkdocs-material-extensions";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.3.1";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "pyproject";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facelessuser";
|
|
|
|
repo = pname;
|
2023-01-20 10:41:00 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-/jU30Ol10/4haR3ZPJWZ3iWRfXG/RUOU1oclOYGjjAY=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ hatchling ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|