Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, fetchFromGitHub, bleach, html5lib, nbconvert, pytestCheckHook, requests, responses, setuptools, traitlets, versioneer,}:
buildPythonPackage rec { pname = "nbconflux"; version = "0.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "vericast"; repo = "nbconflux"; tag = version; hash = "sha256-kHIuboFKLVsu5zlZ0bM1BUoQR8f1l0XWcaaVI9bECJw="; };
build-system = [ setuptools versioneer ];
dependencies = [ bleach html5lib nbconvert requests traitlets ];
nativeCheckInputs = [ pytestCheckHook responses ];
patches = [ # The original setup.py file is missing commas in the install_requires list ./setup-py.patch ];
postPatch = '' # remove vendorized versioneer.py rm versioneer.py '';
env.JUPYTER_PATH = "${nbconvert}/share/jupyter"; disabledTests = [ "test_post_to_confluence" "test_optional_components" ];
meta = { description = "Converts Jupyter Notebooks to Atlassian Confluence (R) pages using nbconvert"; mainProgram = "nbconflux"; homepage = "https://github.com/Valassis-Digital-Media/nbconflux"; license = lib.licenses.bsd3; maintainers = [ ]; };}