1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pyzmq
6, twisted
7}:
8
9buildPythonPackage rec {
10 pname = "txzmq";
11 version = "1.0.0";
12
13 src = fetchPypi {
14 inherit version;
15 pname = "txZMQ";
16 sha256 = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
17 };
18
19 propagatedBuildInputs = [
20 pyzmq
21 twisted
22 ];
23
24 checkInputs = [
25 pytestCheckHook
26 ];
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 = with maintainers; [ wolfangaukang ];
35 };
36}