mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
42 lines
827 B
Nix
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 ];
|
|
};
|
|
}
|