pythonPackages.plotly: 1.9.5 -> 2.0.8

This commit is contained in:
Frederik Rietdijk 2017-05-05 14:22:16 +02:00
parent ac9eb4e34f
commit af87b922f1
2 changed files with 38 additions and 17 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, decorator
, nbformat
, pytz
, requests2
, six
}:
buildPythonPackage rec {
pname = "plotly";
version = "2.0.8";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1zbwx771w6425w4g6l9fhq4x1854fdnni6xq9xhvs8xqgxkrljm5";
};
propagatedBuildInputs = [
decorator
nbformat
pytz
requests2
six
];
# No tests in archive
doCheck = false;
meta = {
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
homepage = https://plot.ly/python/;
license = with lib.licenses; [ mit ];
};
}

View file

@ -8899,23 +8899,7 @@ in {
};
};
plotly = self.buildPythonPackage rec {
name = "plotly-1.9.5";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/p/plotly/${name}.tar.gz";
sha256 = "628679e880caab22e2a46273e85e1d1ce1382b631e1c7bbfe539f804c5269b21";
};
propagatedBuildInputs = with self; [ self.pytz self.six self.requests ];
meta = {
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
homepage = https://plot.ly/python/;
license = licenses.mit;
};
};
plotly = callPackage ../development/python-modules/plotly { };
podcastparser = callPackage ../development/python-modules/podcastparser { };