2019-12-16 05:18:31 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchpatch
|
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";
|
2020-08-16 18:31:16 +01:00
|
|
|
version = "0.5.5";
|
2019-02-24 15:21:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:16 +01:00
|
|
|
sha256 = "787ade4796c5b2e79af2aac678841ba3748a65a3adce150697dcdd31c4f80365";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|