2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
|
|
|
, callPackage
|
2022-10-30 15:09:59 +00:00
|
|
|
, buildPythonPackage
|
2022-04-27 09:35:20 +00:00
|
|
|
, fetchFromGitHub
|
2022-03-30 09:31:56 +00:00
|
|
|
, jinja2
|
|
|
|
, markdown
|
|
|
|
, mkdocs
|
|
|
|
, mkdocs-material-extensions
|
|
|
|
, pygments
|
|
|
|
, pymdown-extensions
|
2022-04-27 09:35:20 +00:00
|
|
|
, pythonOlder
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
buildPythonPackage rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "mkdocs-material";
|
2022-09-14 18:05:37 +00:00
|
|
|
version = "8.4.3";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "squidfunk";
|
|
|
|
repo = pname;
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2022-09-14 18:05:37 +00:00
|
|
|
hash = "sha256-ntArFD/wnoFC2vMS9WjiFP5/I1XklgSPGKGxFXxdNxs=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
mkdocs
|
|
|
|
mkdocs-material-extensions
|
|
|
|
pygments
|
|
|
|
pymdown-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
# No tests for python
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"mkdocs"
|
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Material for mkdocs";
|
|
|
|
homepage = "https://squidfunk.github.io/mkdocs-material/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dandellion ];
|
|
|
|
};
|
|
|
|
}
|