diff options
Diffstat (limited to 'pkgs/development/python-modules/txzmq/default.nix')
-rw-r--r-- | pkgs/development/python-modules/txzmq/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/txzmq/default.nix b/pkgs/development/python-modules/txzmq/default.nix new file mode 100644 index 0000000000000..6ae66dba90ca5 --- /dev/null +++ b/pkgs/development/python-modules/txzmq/default.nix @@ -0,0 +1,36 @@ +{ 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 ]; + }; +} |