1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pyzmq,
7 twisted,
8}:
9
10buildPythonPackage rec {
11 pname = "txzmq";
12 version = "1.0.0";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit version;
17 pname = "txZMQ";
18 hash = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
19 };
20
21 propagatedBuildInputs = [
22 pyzmq
23 twisted
24 ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "txzmq" ];
29
30 meta = with lib; {
31 description = "Twisted bindings for ZeroMQ";
32 homepage = "https://github.com/smira/txZMQ";
33 license = licenses.mpl20;
34 maintainers = [ ];
35 };
36}