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.
nomicon/pkgs/development/python-modules/mkdocs-material/default.nix

42 lines
826 B

{ lib, callPackage, buildPythonApplication, fetchFromGitHub
, jinja2
, markdown
, mkdocs
, mkdocs-material-extensions
, pygments
, pymdown-extensions
}:
buildPythonApplication rec {
pname = "mkdocs-material";
version = "8.2.9";
src = fetchFromGitHub {
owner = "squidfunk";
repo = pname;
rev = version;
sha256 = "sha256-lrklTQWWsP1rjixqu5/S7XMN+K095NRGv3JkjRQ4brM=";
};
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 ];
};
}