13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-w+YySX9RNXUttt7iLg/Efh8bNzmhIQTKMXcoPO1k4lI=";
27 propagatedBuildInputs = [
39 substituteInPlace setup.cfg \
40 --replace "--cov=nats --cov-report html" ""
44 # AssertionError: assert 5 == 0
45 "test_pull_subscribe_limits"
47 "test_subscribe_no_echo"
48 ] ++ lib.optionals stdenv.isDarwin [
49 "test_subscribe_iterate_next_msg"
50 "test_buf_size_force_flush_timeout"
53 pythonImportsCheck = [
58 description = "Python client for NATS.io";
59 homepage = "https://github.com/nats-io/nats.py";
60 license = with licenses; [ asl20 ];
61 maintainers = with maintainers; [ fab ];