mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9253e2883f
Can't test tcp in the sandbox
45 lines
918 B
Nix
45 lines
918 B
Nix
{ 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 \
|
|
--deselect=streamz/tests/test_sources.py::test_tcp
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Pipelines to manage continuous streams of data";
|
|
homepage = https://github.com/mrocklin/streamz/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|