parent
b250ca540e
commit
dc07aeb38d
@ -0,0 +1,41 @@ |
||||
{ lib, callPackage, buildPythonApplication, fetchFromGitHub |
||||
, jinja2 |
||||
, markdown |
||||
, mkdocs |
||||
, mkdocs-material-extensions |
||||
, pygments |
||||
, pymdown-extensions |
||||
}: |
||||
|
||||
buildPythonApplication rec { |
||||
pname = "mkdocs-material"; |
||||
version = "8.2.5"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "squidfunk"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "0v30x2cgc5i307p0hsy5h58pfd8w6xpnvimsb75614xlmx3ycaqd"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
jinja2 |
||||
markdown |
||||
mkdocs |
||||
mkdocs-material-extensions |
||||
pygments |
||||
pymdown-extensions |
||||
]; |
||||
|
||||
# No tests for python |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "mkdocs" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Material for mkdocs"; |
||||
homepage = "https://squidfunk.github.io/mkdocs-material/"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ dandellion ]; |
||||
}; |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ lib, fetchFromGitHub, buildPythonPackage }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "mkdocs-material-extensions"; |
||||
version = "1.0.3"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "facelessuser"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "1mvc13lz16apnli2qcqf0dvlm8mshy47jmz2vp72lja6x8jfq2p3"; |
||||
}; |
||||
|
||||
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 ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue