File tree 2 files changed +38
-17
lines changed
development/python-modules/plotly
2 files changed +38
-17
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change @@ -8899,23 +8899,7 @@ in {
8899
8899
};
8900
8900
};
8901
8901
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 { };
8919
8903
8920
8904
podcastparser = callPackage ../development/python-modules/podcastparser { };
8921
8905
You can’t perform that action at this time.
0 commit comments