depot/third_party/nixpkgs/pkgs/development/python-modules/txzmq/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

36 lines
629 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pyzmq
, twisted
}:
buildPythonPackage rec {
pname = "txzmq";
version = "1.0.0";
src = fetchPypi {
inherit version;
pname = "txZMQ";
sha256 = "sha256-jWB9C/CcqUYAuOQvByHb5D7lOgRwGCNErHrOfljcYXc=";
};
propagatedBuildInputs = [
pyzmq
twisted
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "txzmq" ];
meta = with lib; {
description = "Twisted bindings for ZeroMQ";
homepage = "https://github.com/smira/txZMQ";
license = licenses.mpl20;
maintainers = with maintainers; [ wolfangaukang ];
};
}