blob: 27c5a1639933f1328e6108c9db77352e8a285613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
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 ];
};
}
|