nixpkgs/pkgs/development/python-modules/plotly/default.nix
Frederik Rietdijk ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00

38 lines
650 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, decorator
, nbformat
, pytz
, requests
, six
}:
buildPythonPackage rec {
pname = "plotly";
version = "2.0.8";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1zbwx771w6425w4g6l9fhq4x1854fdnni6xq9xhvs8xqgxkrljm5";
};
propagatedBuildInputs = [
decorator
nbformat
pytz
requests
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 ];
};
}