2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 04:45:44 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, jinja2
|
|
|
|
, matplotlib
|
|
|
|
, numpy
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.2.1";
|
|
|
|
pname = "lightning-python";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "3987d7d4a634bdb6db9bcf212cf4d2f72bab5bc039f4f6cbc02c9d01c4ade792";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ jinja2 matplotlib numpy requests six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 04:45:44 +01:00
|
|
|
description = "A Python client library for the Lightning data visualization server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://lightning-viz.org";
|
2018-10-16 04:45:44 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|