2017-05-05 14:22:16 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, decorator
|
|
|
|
, nbformat
|
|
|
|
, pytz
|
2017-05-07 12:55:45 +02:00
|
|
|
, requests
|
2017-05-05 14:22:16 +02:00
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "plotly";
|
2018-02-26 10:55:14 +01:00
|
|
|
version = "2.4.1";
|
2017-05-05 14:22:16 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 10:55:14 +01:00
|
|
|
sha256 = "f588991dce15437debd825eca935c8cfbabf438cdc0dcd2ce7a88f429d982f69";
|
2017-05-05 14:22:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
decorator
|
|
|
|
nbformat
|
|
|
|
pytz
|
2017-05-07 12:55:45 +02:00
|
|
|
requests
|
2017-05-05 14:22:16 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|