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