blob: 87de719025dc7efe936efa99b58a9b1b15708107 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, buildPythonPackage
, fetchPypi
, tornado
, toolz
, zict
, six
, pytest
, networkx
, distributed
, confluent-kafka
, graphviz
}:
buildPythonPackage rec {
pname = "streamz";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "80c9ded1d6e68d3b78339deb6e9baf93a633d84b4a8875221e337ac06890103f";
};
checkInputs = [ pytest networkx distributed confluent-kafka graphviz ];
propagatedBuildInputs = [
tornado
toolz
zict
six
];
# Disable test_tcp_async because fails on sandbox build
checkPhase = ''
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async
'';
meta = with lib; {
description = "Pipelines to manage continuous streams of data";
homepage = https://github.com/mrocklin/streamz/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}
|