Skip to content

Commit

Permalink
pythonPackages.plotly: 1.9.5 -> 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed May 5, 2017
1 parent ac9eb4e commit af87b92
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 17 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/plotly/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
18 changes: 1 addition & 17 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit af87b92

Please sign in to comment.