Commit b2a979a4 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

python313Packages.stomp-py: init at 8.2.0

parent 3765ba2a
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  poetry-core,

  # dependencies
  docopt,
  websocket-client,

  # tests
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "stomp-py";
  version = "8.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jasonrbriggs";
    repo = "stomp.py";
    tag = "v${version}";
    hash = "sha256-UkNmE0+G9d3k1OhkNl98Jy5sP6MAywynzBmBtK9mZ90=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    docopt
    websocket-client
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  doCheck = false; # needs external services setup

  pythonImportsCheck = [ "stomp" ];

  meta = {
    description = "Client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol";
    homepage = "https://github.com/jasonrbriggs/stomp.py";
    changelog = "https://github.com/jasonrbriggs/stomp.py/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ veprbl ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -16784,6 +16784,8 @@ self: super: with self; {
  stm32loader = callPackage ../development/python-modules/stm32loader { };
  stomp-py = callPackage ../development/python-modules/stomp-py { };
  stone = callPackage ../development/python-modules/stone { };
  stookalert = callPackage ../development/python-modules/stookalert { };