about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cufflinks
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-05-08 21:53:09 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-05-08 21:55:06 -0500
commit1d8c4fe30fe77ccbe51a75c2e8c516c42b2eb9e3 (patch)
tree040f8f4b2fd9d4203c00174bbec899f50054343e /pkgs/development/python-modules/cufflinks
parentc5918d9e9ac0a488ce1b853371d2f209e2244fd1 (diff)
pythonPackages.cufflinks: add patch for plotly 3.8
Diffstat (limited to 'pkgs/development/python-modules/cufflinks')
-rw-r--r--pkgs/development/python-modules/cufflinks/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cufflinks/default.nix b/pkgs/development/python-modules/cufflinks/default.nix
index 1344ef4d6ae26..18693a204c532 100644
--- a/pkgs/development/python-modules/cufflinks/default.nix
+++ b/pkgs/development/python-modules/cufflinks/default.nix
@@ -1,4 +1,4 @@
-{ buildPythonPackage, stdenv, fetchPypi
+{ buildPythonPackage, stdenv, fetchPypi, fetchpatch
 , numpy, pandas, plotly, six, colorlover
 , ipython, ipywidgets, nose
 }:
@@ -17,6 +17,14 @@ buildPythonPackage rec {
     ipython ipywidgets
   ];
 
+  patches = [
+    # Plotly 3.8 compatibility. Remove with the next release. See https://github.com/santosjorge/cufflinks/pull/178
+    (fetchpatch {
+      url = "https://github.com/santosjorge/cufflinks/commit/cc4c23c2b45b870f6801d1cb0312948e1f73f424.patch";
+      sha256 = "1psl2h7vscpzvb4idr6s175v8znl2mfhkcyhb1926p4saswmghw1";
+    })
+  ];
+
   checkInputs = [ nose ];
 
   checkPhase = ''