pythonPackages.cufflinks: add patch for plotly 3.8

This commit is contained in:
Mario Rodas 2019-05-08 21:53:09 -05:00
parent c5918d9e9a
commit 1d8c4fe30f
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -1,4 +1,4 @@
{ buildPythonPackage, stdenv, fetchPypi { buildPythonPackage, stdenv, fetchPypi, fetchpatch
, numpy, pandas, plotly, six, colorlover , numpy, pandas, plotly, six, colorlover
, ipython, ipywidgets, nose , ipython, ipywidgets, nose
}: }:
@ -17,6 +17,14 @@ buildPythonPackage rec {
ipython ipywidgets 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 ]; checkInputs = [ nose ];
checkPhase = '' checkPhase = ''