at master 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 7 # build-system 8 poetry-core, 9 10 # dependencies 11 docopt, 12 websocket-client, 13 14 # tests 15 pytestCheckHook, 16}: 17 18buildPythonPackage rec { 19 pname = "stomp-py"; 20 version = "8.2.0"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "jasonrbriggs"; 25 repo = "stomp.py"; 26 tag = "v${version}"; 27 hash = "sha256-UkNmE0+G9d3k1OhkNl98Jy5sP6MAywynzBmBtK9mZ90="; 28 }; 29 30 build-system = [ 31 poetry-core 32 ]; 33 34 dependencies = [ 35 docopt 36 websocket-client 37 ]; 38 39 nativeCheckInputs = [ 40 pytestCheckHook 41 ]; 42 43 doCheck = false; # needs external services setup 44 45 pythonImportsCheck = [ "stomp" ]; 46 47 meta = { 48 description = "Client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol"; 49 homepage = "https://github.com/jasonrbriggs/stomp.py"; 50 changelog = "https://github.com/jasonrbriggs/stomp.py/releases/tag/${version}"; 51 license = lib.licenses.asl20; 52 maintainers = with lib.maintainers; [ veprbl ]; 53 }; 54}