11 buildPythonPackage rec {
12 pname = "nats-python";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
22 hash = "sha256-7/AGQfPEuSeoRGUXeyDZNbLhapfQa7vhrSPHRruf+sg=";
26 # Switch to poetry-core, https://github.com/Gr1N/nats-python/pull/19
28 name = "use-poetry-core.patch";
29 url = "https://github.com/Gr1N/nats-python/commit/71b25b324212dccd7fc06ba3914491adba22e83f.patch";
30 hash = "sha256-9AUd/anWCAhuD0VdxRm6Ydlst8nttjwfPmqK+S8ON7o=";
34 build-system = [ poetry-core ];
36 dependencies = [ setuptools ];
38 # Tests require a running NATS server
41 pythonImportsCheck = [ "pynats" ];
44 description = "Python client for NATS messaging system";
45 homepage = "https://github.com/Gr1N/nats-python";
46 changelog = "https://github.com/Gr1N/nats-python/releases/tag/${version}";
47 license = with licenses; [ mit ];
48 maintainers = with maintainers; [ fab ];