nixpkgs/pkgs/development/python-modules/mkdocs-material/default.nix
2022-03-19 22:50:04 +01:00

42 lines
827 B
Nix

{ 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 ];
};
}