3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/streamz/default.nix

54 lines
958 B
Nix
Raw Normal View History

2019-02-24 15:21:44 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, tornado
, toolz
, zict
, six
2019-09-27 19:10:17 +01:00
, pytest_4
2019-02-24 15:21:44 +00:00
, networkx
, distributed
, confluent-kafka
, graphviz
2019-09-27 19:10:17 +01:00
, requests
2019-02-24 15:21:44 +00:00
}:
buildPythonPackage rec {
pname = "streamz";
2019-09-27 19:10:17 +01:00
version = "0.5.2";
2019-02-24 15:21:44 +00:00
src = fetchPypi {
inherit pname version;
2019-09-27 19:10:17 +01:00
sha256 = "127rpdjgkcyjifmkqbhmqfbzlgi32n54rybrdxja610qr906y40c";
2019-02-24 15:21:44 +00:00
};
propagatedBuildInputs = [
tornado
toolz
zict
six
];
2019-09-27 19:10:17 +01:00
checkInputs = [
confluent-kafka
distributed
graphviz
networkx
pytest_4
requests
];
2019-05-11 21:49:00 +01:00
# Disable test_tcp_async because fails on sandbox build
2019-02-24 15:21:44 +00:00
checkPhase = ''
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-09-27 19:10:17 +01:00
homepage = "https://github.com/mrocklin/streamz";
2019-02-24 15:21:44 +00:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}