2021-02-15 22:29:21 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2019-02-24 15:21:44 +00:00
|
|
|
, confluent-kafka
|
2020-08-07 22:07:49 +01:00
|
|
|
, distributed
|
|
|
|
, flaky
|
2019-02-24 15:21:44 +00:00
|
|
|
, graphviz
|
2020-08-07 22:07:49 +01:00
|
|
|
, networkx
|
|
|
|
, pytest
|
2019-09-27 19:10:17 +01:00
|
|
|
, requests
|
2020-08-07 22:07:49 +01:00
|
|
|
, six
|
|
|
|
, toolz
|
|
|
|
, tornado
|
|
|
|
, zict
|
2020-09-20 22:30:29 +01:00
|
|
|
, pythonOlder
|
2019-02-24 15:21:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "streamz";
|
2021-02-20 09:09:17 +00:00
|
|
|
version = "0.6.2";
|
2019-02-24 15:21:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:17 +00:00
|
|
|
sha256 = "04446ece273c041506b1642bd3d8380367a8372196be4d6d6d03faafadc590b2";
|
2019-02-24 15:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2019-12-16 05:18:31 +00:00
|
|
|
networkx
|
2019-02-24 15:21:44 +00:00
|
|
|
tornado
|
|
|
|
toolz
|
|
|
|
zict
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2019-09-27 19:10:17 +01:00
|
|
|
checkInputs = [
|
|
|
|
confluent-kafka
|
|
|
|
distributed
|
2020-08-07 22:07:49 +01:00
|
|
|
flaky
|
2019-09-27 19:10:17 +01:00
|
|
|
graphviz
|
2019-12-16 05:18:31 +00:00
|
|
|
pytest
|
2019-09-27 19:10:17 +01:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
2020-09-20 22:30:29 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2019-05-11 21:49:00 +01:00
|
|
|
# Disable test_tcp_async because fails on sandbox build
|
2019-12-16 05:18:31 +00:00
|
|
|
# disable kafka tests
|
2019-02-24 15:21:44 +00:00
|
|
|
checkPhase = ''
|
2019-05-27 17:58:01 +01:00
|
|
|
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async \
|
2019-12-16 05:18:31 +00:00
|
|
|
--deselect=streamz/tests/test_sources.py::test_tcp \
|
|
|
|
--ignore=streamz/tests/test_kafka.py
|
2019-02-24 15:21:44 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pipelines to manage continuous streams of data";
|
2019-12-16 05:18:31 +00:00
|
|
|
homepage = "https://github.com/python-streamz/streamz";
|
2019-02-24 15:21:44 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|