nixpkgs/pkgs/development/python-modules/streamz/default.nix

45 lines
918 B
Nix
Raw Normal View History

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 = ''
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";
homepage = https://github.com/mrocklin/streamz/;
2019-02-24 16:21:44 +01:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}