2019-02-24 15:21:44 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, tornado
|
|
|
|
, toolz
|
|
|
|
, zict
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
, networkx
|
|
|
|
, distributed
|
|
|
|
, confluent-kafka
|
|
|
|
, graphviz
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "streamz";
|
2019-05-11 20:49:00 +00:00
|
|
|
version = "0.5.1";
|
2019-02-24 15:21:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-11 20:49:00 +00:00
|
|
|
sha256 = "80c9ded1d6e68d3b78339deb6e9baf93a633d84b4a8875221e337ac06890103f";
|
2019-02-24 15:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest networkx distributed confluent-kafka graphviz ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tornado
|
|
|
|
toolz
|
|
|
|
zict
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2019-05-11 20:49:00 +00:00
|
|
|
# Disable test_tcp_async because fails on sandbox build
|
2019-02-24 15:21:44 +00:00
|
|
|
checkPhase = ''
|
2019-05-27 16:58:01 +00:00
|
|
|
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async \
|
|
|
|
--deselect=streamz/tests/test_sources.py::test_tcp
|
2019-02-24 15:21:44 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pipelines to manage continuous streams of data";
|
2019-04-14 23:25:45 +00:00
|
|
|
homepage = https://github.com/mrocklin/streamz/;
|
2019-02-24 15:21:44 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|