2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-08-20 17:08:02 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, python-json-logger
|
|
|
|
, jsonschema
|
2021-12-06 16:07:01 +00:00
|
|
|
, ruamel-yaml
|
2020-08-20 17:08:02 +00:00
|
|
|
, traitlets
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter_telemetry";
|
|
|
|
version = "0.1.0";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "052khyn6h97jxl3k5i2m81xvga5v6vwh5qixzrax4w6zwcx62p24";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
python-json-logger jsonschema ruamel-yaml traitlets
|
2020-08-20 17:08:02 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Telemetry for Jupyter Applications and extensions";
|
|
|
|
homepage = "https://jupyter-telemetry.readthedocs.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ chiroptical ];
|
|
|
|
};
|
|
|
|
}
|