3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cufflinks/default.nix

49 lines
920 B
Nix
Raw Normal View History

2019-10-02 04:40:20 +01:00
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, chart-studio
, colorlover
, ipython
, ipywidgets
, pytest
, nose
2019-10-02 04:40:20 +01:00
, numpy
, pandas
, six
, statsmodels
2017-10-18 15:54:05 +01:00
}:
buildPythonPackage rec {
pname = "cufflinks";
version = "0.17.3";
2017-10-18 15:54:05 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0i56062k54dlg5iz3qyl1ykww62mpkp8jr4n450h0c60dm0b7ha8";
2017-10-18 15:54:05 +01:00
};
2019-04-03 15:03:54 +01:00
propagatedBuildInputs = [
2019-10-02 04:40:20 +01:00
chart-studio
colorlover
ipython
ipywidgets
numpy
pandas
six
statsmodels
2019-04-03 15:03:54 +01:00
];
2017-10-18 15:54:05 +01:00
checkInputs = [ pytest nose ];
2019-04-03 15:03:54 +01:00
# ignore tests which are incompatible with pandas>=1.0
# https://github.com/santosjorge/cufflinks/issues/236
2019-04-03 15:03:54 +01:00
checkPhase = ''
pytest tests.py -k 'not bar_row'
2019-04-03 15:03:54 +01:00
'';
2017-10-18 15:54:05 +01:00
2019-10-02 04:40:20 +01:00
meta = with lib; {
2017-10-18 15:54:05 +01:00
description = "Productivity Tools for Plotly + Pandas";
2019-10-02 04:40:20 +01:00
homepage = "https://github.com/santosjorge/cufflinks";
license = licenses.mit;
maintainers = with maintainers; [ globin ];
2017-10-18 15:54:05 +01:00
};
}