mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
pythonPackages.nbsphinx: init at 0.4.2
This commit is contained in:
parent
7c3d9d442a
commit
e6aa9ac72d
2 changed files with 44 additions and 1 deletions
41
pkgs/development/python-modules/nbsphinx/default.nix
Normal file
41
pkgs/development/python-modules/nbsphinx/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, docutils
|
||||
, jinja2
|
||||
, nbconvert
|
||||
, nbformat
|
||||
, sphinx
|
||||
, traitlets
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbsphinx";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b794219e465b3aab500b800884ff40fd152bb19d8b6f87580de1f3a07170aef8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docutils
|
||||
jinja2
|
||||
nbconvert
|
||||
nbformat
|
||||
sphinx
|
||||
traitlets
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m nbsphinx
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter Notebook Tools for Sphinx";
|
||||
homepage = https://nbsphinx.readthedocs.io/;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -492,6 +492,8 @@ in {
|
|||
|
||||
nanomsg-python = callPackage ../development/python-modules/nanomsg-python { inherit (pkgs) nanomsg; };
|
||||
|
||||
nbsphinx = callPackage ../development/python-modules/nbsphinx { };
|
||||
|
||||
nbval = callPackage ../development/python-modules/nbval { };
|
||||
|
||||
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };
|
||||
|
|
Loading…
Reference in a new issue