depot/third_party/nixpkgs/pkgs/development/python-modules/txzmq/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
660 B
Nix

{
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 ];
};
}