diff --git a/pkgs/development/python-modules/magic-wormhole-mailbox-server/default.nix b/pkgs/development/python-modules/magic-wormhole-mailbox-server/default.nix new file mode 100644 index 00000000000..4347f07d9c2 --- /dev/null +++ b/pkgs/development/python-modules/magic-wormhole-mailbox-server/default.nix @@ -0,0 +1,20 @@ +{ stdenv, buildPythonPackage, fetchPypi, six, attrs, twisted, pyopenssl, service-identity, autobahn, treq, mock }: + +buildPythonPackage rec { + version = "0.3.1"; + pname = "magic-wormhole-mailbox-server"; + + src = fetchPypi { + inherit pname version; + sha256 = "1q6zhbx8fcpk7rchclm7yqcxdsc1x97hki2ji61sa544r5xvxv55"; + }; + + propagatedBuildInputs = [ six attrs twisted pyopenssl service-identity autobahn ]; + checkInputs = [ treq mock ]; + + meta = with stdenv.lib; { + description = "Securely transfer data between computers"; + homepage = https://github.com/warner/magic-wormhole-mailbox-server; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 20895690169..9dc05aec4be 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3916,6 +3916,8 @@ in { magic-wormhole = callPackage ../development/python-modules/magic-wormhole { }; + magic-wormhole-mailbox-server = callPackage ../development/python-modules/magic-wormhole-mailbox-server { }; + magic-wormhole-transit-relay = callPackage ../development/python-modules/magic-wormhole-transit-relay { }; wxPython = self.wxPython30;