Commit f4f6be1e authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python310Packages.nbconflux: fix build

parent 9ca78564
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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"
+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',
     ],
 )