python3Packages.mkdocs-material: init at 8.2.5
This commit is contained in:
parent
b250ca540e
commit
dc07aeb38d
41
pkgs/development/python-modules/mkdocs-material/default.nix
Normal file
41
pkgs/development/python-modules/mkdocs-material/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-material-extensions";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facelessuser";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1mvc13lz16apnli2qcqf0dvlm8mshy47jmz2vp72lja6x8jfq2p3";
|
||||
};
|
||||
|
||||
doCheck = false; # Circular dependency
|
||||
|
||||
pythonImportsCheck = [ "materialx" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Markdown extension resources for MkDocs Material";
|
||||
homepage = "https://github.com/facelessuser/mkdocs-material-extensions";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dandellion ];
|
||||
};
|
||||
}
|
@ -5157,6 +5157,8 @@ in {
|
||||
mizani = callPackage ../development/python-modules/mizani { };
|
||||
|
||||
mkdocs = callPackage ../development/python-modules/mkdocs { };
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
|
||||
|
||||
mkl-service = callPackage ../development/python-modules/mkl-service { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user