8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
41 lines
826 B
Nix
41 lines
826 B
Nix
{ lib, callPackage, buildPythonApplication, fetchFromGitHub
|
|
, jinja2
|
|
, markdown
|
|
, mkdocs
|
|
, mkdocs-material-extensions
|
|
, pygments
|
|
, pymdown-extensions
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mkdocs-material";
|
|
version = "8.2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "squidfunk";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Jh0FmtBCYCEk6mYFLOKb1HQXQ4Wc9Z6JCHFVu420IBk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|