159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatchling,
|
|
ipykernel,
|
|
jupytext,
|
|
mkdocs,
|
|
mkdocs-material,
|
|
nbconvert,
|
|
pygments,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-jupyter";
|
|
version = "0.25.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "mkdocs_jupyter";
|
|
inherit version;
|
|
hash = "sha256-4mwdNBkWvFf5bqP5PY0KiPx3yH1M7iIvZtIAd5jZJPU=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "nbconvert" ];
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
ipykernel
|
|
jupytext
|
|
mkdocs
|
|
mkdocs-material
|
|
nbconvert
|
|
pygments
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-cov-stub
|
|
];
|
|
|
|
pythonImportsCheck = [ "mkdocs_jupyter" ];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = with lib; {
|
|
description = "Use Jupyter Notebook in mkdocs";
|
|
homepage = "https://github.com/danielfrg/mkdocs-jupyter";
|
|
changelog = "https://github.com/danielfrg/mkdocs-jupyter/blob/${version}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ net-mist ];
|
|
};
|
|
}
|