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

59 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, fetchpatch
2019-02-24 15:21:44 +00:00
, confluent-kafka
, distributed
, flaky
2019-02-24 15:21:44 +00:00
, graphviz
, networkx
, pytest
2019-09-27 19:10:17 +01:00
, requests
, six
, toolz
, tornado
, zict
, pythonOlder
2019-02-24 15:21:44 +00:00
}:
buildPythonPackage rec {
pname = "streamz";
2020-08-16 18:31:16 +01:00
version = "0.5.5";
2019-02-24 15:21:44 +00:00
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:16 +01:00
sha256 = "787ade4796c5b2e79af2aac678841ba3748a65a3adce150697dcdd31c4f80365";
2019-02-24 15:21:44 +00:00
};
propagatedBuildInputs = [
networkx
2019-02-24 15:21:44 +00:00
tornado
toolz
zict
six
];
2019-09-27 19:10:17 +01:00
checkInputs = [
confluent-kafka
distributed
flaky
2019-09-27 19:10:17 +01:00
graphviz
pytest
2019-09-27 19:10:17 +01:00
requests
];
disabled = pythonOlder "3.6";
2019-05-11 21:49:00 +01:00
# Disable test_tcp_async because fails on sandbox build
# disable kafka tests
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 \
--ignore=streamz/tests/test_kafka.py
2019-02-24 15:21:44 +00:00
'';
meta = with lib; {
description = "Pipelines to manage continuous streams of data";
homepage = "https://github.com/python-streamz/streamz";
2019-02-24 15:21:44 +00:00
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}