python3Packages.mkdocs-jupyter: init at 0.22.0
This commit is contained in:
parent
4e224a9a64
commit
22080b7dc0
50
pkgs/development/python-modules/mkdocs-jupyter/default.nix
Normal file
50
pkgs/development/python-modules/mkdocs-jupyter/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, ipykernel
|
||||
, jupytext
|
||||
, lib
|
||||
, mkdocs
|
||||
, mkdocs-material
|
||||
, nbconvert
|
||||
, pygments
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-jupyter";
|
||||
version = "0.22.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-WFzGm+pMufr2iYExl43JqbIlCR7UtghPWrZWUqXhIYU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mkdocs_jupyter/tests/test_base_usage.py \
|
||||
--replace "[\"mkdocs\"," "[\"${mkdocs.out}/bin/mkdocs\","
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nbconvert
|
||||
jupytext
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
pygments
|
||||
ipykernel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mkdocs_jupyter" ];
|
||||
|
||||
checkInputs = [
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use Jupyter Notebook in mkdocs";
|
||||
homepage = "https://github.com/danielfrg/mkdocs-jupyter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ net-mist ];
|
||||
};
|
||||
}
|
@ -5760,6 +5760,7 @@ in {
|
||||
mkdocs-autorefs = callPackage ../development/python-modules/mkdocs-autorefs { };
|
||||
mkdocs-drawio-exporter = callPackage ../development/python-modules/mkdocs-drawio-exporter { };
|
||||
mkdocs-exclude = callPackage ../development/python-modules/mkdocs-exclude { };
|
||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
|
Loading…
Reference in New Issue
Block a user