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

50 lines
921 B

{ lib
, callPackage
, buildPythonApplication
, fetchFromGitHub
, jinja2
, markdown
, mkdocs
, mkdocs-material-extensions
, pygments
, pymdown-extensions
, pythonOlder
}:
buildPythonApplication rec {
pname = "mkdocs-material";
version = "8.2.15";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "squidfunk";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-6x3ENFPGmtRDMV6YRGlTLCYusmX49LrGBDwicg8sDB0=";
};
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 ];
};
}