depot/third_party/nixpkgs/pkgs/development/python-modules/mkdocs-material/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

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