about summary refs log tree commit diff
path: root/pkgs/development/python-modules/txzmq/default.nix
blob: a8e75896b7c2621d8a9c872d7038d346bff2622a (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pyzmq
, twisted
}:

buildPythonPackage rec {
  pname = "txzmq";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "txZMQ";
    hash = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
  };

  propagatedBuildInputs = [
    pyzmq
    twisted
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "txzmq" ];

  meta = with lib; {
    description = "Twisted bindings for ZeroMQ";
    homepage = "https://github.com/smira/txZMQ";
    license = licenses.mpl20;
    maintainers = with maintainers; [ wolfangaukang ];
  };
}