My personal project and infrastructure archive
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{ lib, callPackage, buildPythonApplication, fetchFromGitHub
|
|
|
|
, jinja2
|
|
|
|
, markdown
|
|
|
|
, mkdocs
|
|
|
|
, mkdocs-material-extensions
|
|
|
|
, pygments
|
|
|
|
, pymdown-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mkdocs-material";
|
|
|
|
version = "8.2.11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "squidfunk";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "sha256-YAXdIA36QWwdQxTux6Sy/F0j8lprSO+5/VezFcsGQYg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|