10 buildPythonPackage rec {
11 pname = "nats-python";
13 disabled = pythonOlder "3.6";
16 src = fetchFromGitHub {
20 sha256 = "1j7skyxldir3mphvnsyhjxmf3cimv4h7n5v58jl2gff4yd0hdw7g";
28 # Switch to poetry-core, https://github.com/Gr1N/nats-python/pull/19
30 name = "use-poetry-core.patch";
31 url = "https://github.com/Gr1N/nats-python/commit/71b25b324212dccd7fc06ba3914491adba22e83f.patch";
32 sha256 = "1fip1qpzk2ka7qgkrdpdr6vnrnb1p8cwapa51xp0h26nm7yis1gl";
36 propagatedBuildInputs = [
40 # Tests require a running NATS server
43 pythonImportsCheck = [ "pynats" ];
46 description = "Python client for NATS messaging system";
47 homepage = "https://github.com/Gr1N/nats-python";
48 license = with licenses; [ mit ];
49 maintainers = with maintainers; [ fab ];