Loading pkgs/development/python-modules/nbconflux/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -16,14 +16,19 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Valassis-Digital-Media"; repo = "nbconflux"; rev = version; sha256 = "1708qkb275d6f7b4b5zmqx3i0jh56nrx2n9rwwp5nbaah5p2wwlh"; rev = "refs/tags/${version}"; hash = "sha256-kHIuboFKLVsu5zlZ0bM1BUoQR8f1l0XWcaaVI9bECJw="; }; propagatedBuildInputs = [ nbconvert requests ]; nativeCheckInputs = [ pytestCheckHook responses ]; patches = [ # The original setup.py file is missing commas in the install_requires list ./setup-py.patch ]; JUPYTER_PATH="${nbconvert}/share/jupyter"; disabledTests = [ "test_post_to_confluence" Loading pkgs/development/python-modules/nbconflux/setup-py.patch 0 → 100644 +16 −0 Original line number Diff line number Diff line diff --git a/setup.py b/setup.py index 26f882d..b7ccf67 100644 --- a/setup.py +++ b/setup.py @@ -27,8 +27,8 @@ setup( ] }, install_requires=[ - 'nbconvert>=5.3' - 'requests' - 'traitlets' + 'nbconvert>=5.3', + 'requests', + 'traitlets', ], ) Loading
pkgs/development/python-modules/nbconflux/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -16,14 +16,19 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Valassis-Digital-Media"; repo = "nbconflux"; rev = version; sha256 = "1708qkb275d6f7b4b5zmqx3i0jh56nrx2n9rwwp5nbaah5p2wwlh"; rev = "refs/tags/${version}"; hash = "sha256-kHIuboFKLVsu5zlZ0bM1BUoQR8f1l0XWcaaVI9bECJw="; }; propagatedBuildInputs = [ nbconvert requests ]; nativeCheckInputs = [ pytestCheckHook responses ]; patches = [ # The original setup.py file is missing commas in the install_requires list ./setup-py.patch ]; JUPYTER_PATH="${nbconvert}/share/jupyter"; disabledTests = [ "test_post_to_confluence" Loading
pkgs/development/python-modules/nbconflux/setup-py.patch 0 → 100644 +16 −0 Original line number Diff line number Diff line diff --git a/setup.py b/setup.py index 26f882d..b7ccf67 100644 --- a/setup.py +++ b/setup.py @@ -27,8 +27,8 @@ setup( ] }, install_requires=[ - 'nbconvert>=5.3' - 'requests' - 'traitlets' + 'nbconvert>=5.3', + 'requests', + 'traitlets', ], )