Skip to content

Commit af87b92

Browse files
committedMay 5, 2017
pythonPackages.plotly: 1.9.5 -> 2.0.8
1 parent ac9eb4e commit af87b92

File tree

2 files changed

+38
-17
lines changed

2 files changed

+38
-17
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{ lib
2+
, buildPythonPackage
3+
, fetchPypi
4+
, decorator
5+
, nbformat
6+
, pytz
7+
, requests2
8+
, six
9+
}:
10+
11+
buildPythonPackage rec {
12+
pname = "plotly";
13+
version = "2.0.8";
14+
name = "${pname}-${version}";
15+
16+
src = fetchPypi {
17+
inherit pname version;
18+
sha256 = "1zbwx771w6425w4g6l9fhq4x1854fdnni6xq9xhvs8xqgxkrljm5";
19+
};
20+
21+
propagatedBuildInputs = [
22+
decorator
23+
nbformat
24+
pytz
25+
requests2
26+
six
27+
];
28+
29+
# No tests in archive
30+
doCheck = false;
31+
32+
meta = {
33+
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
34+
homepage = https://plot.ly/python/;
35+
license = with lib.licenses; [ mit ];
36+
};
37+
}

‎pkgs/top-level/python-packages.nix

+1-17
Original file line numberDiff line numberDiff line change
@@ -8899,23 +8899,7 @@ in {
88998899
};
89008900
};
89018901

8902-
plotly = self.buildPythonPackage rec {
8903-
name = "plotly-1.9.5";
8904-
disabled = isPy3k;
8905-
8906-
src = pkgs.fetchurl {
8907-
url = "mirror://pypi/p/plotly/${name}.tar.gz";
8908-
sha256 = "628679e880caab22e2a46273e85e1d1ce1382b631e1c7bbfe539f804c5269b21";
8909-
};
8910-
8911-
propagatedBuildInputs = with self; [ self.pytz self.six self.requests ];
8912-
8913-
meta = {
8914-
description = "Python plotting library for collaborative, interactive, publication-quality graphs";
8915-
homepage = https://plot.ly/python/;
8916-
license = licenses.mit;
8917-
};
8918-
};
8902+
plotly = callPackage ../development/python-modules/plotly { };
89198903

89208904
podcastparser = callPackage ../development/python-modules/podcastparser { };
89218905

0 commit comments

Comments
 (0)
Please sign in to comment.