14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-gpQXCihKvuXzCt1WNOd5W7RxxfVAvpaVP6OuHUiAQkw=";
29 substituteInPlace pyproject.toml \
30 --replace '"--cov=nats", "--cov-report=html"' ""
37 propagatedBuildInputs = [
49 # AssertionError: assert 5 == 0
50 "test_pull_subscribe_limits"
52 "test_subscribe_no_echo"
53 "test_stream_management"
54 ] ++ lib.optionals stdenv.isDarwin [
55 "test_subscribe_iterate_next_msg"
56 "test_buf_size_force_flush_timeout"
59 pythonImportsCheck = [
64 description = "Python client for NATS.io";
65 homepage = "https://github.com/nats-io/nats.py";
66 changelog = "https://github.com/nats-io/nats.py/releases/tag/v${version}";
67 license = with licenses; [ asl20 ];
68 maintainers = with maintainers; [ fab ];