1{ buildPythonPackage, stdenv, fetchPypi
2, numpy, pandas, plotly, six, colorlover
3, ipython, ipywidgets, nose
4}:
5
6buildPythonPackage rec {
7 pname = "cufflinks";
8 version = "0.15";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "014098a4568199957198c0a7fe3dbeb3b4010b6de8d692a41fe3b3ac107b660e";
13 };
14
15 propagatedBuildInputs = [
16 numpy pandas plotly six colorlover
17 ipython ipywidgets
18 ];
19
20 checkInputs = [ nose ];
21
22 checkPhase = ''
23 nosetests -xv tests.py
24 '';
25
26 meta = {
27 homepage = https://github.com/santosjorge/cufflinks;
28 description = "Productivity Tools for Plotly + Pandas";
29 license = stdenv.lib.licenses.mit;
30 maintainers = with stdenv.lib.maintainers; [ globin ];
31 };
32}