2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, six, attrs, twisted, pyopenssl, service-identity, autobahn, treq, mock, pytest }:
|
2018-11-18 19:47:20 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-24 06:47:37 +00:00
|
|
|
version = "0.4.1";
|
2018-11-18 19:47:20 +00:00
|
|
|
pname = "magic-wormhole-mailbox-server";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 06:47:37 +00:00
|
|
|
sha256 = "1af10592909caaf519c00e706eac842c5e77f8d4356215fe9c61c7b2258a88fb";
|
2018-11-18 19:47:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six attrs twisted pyopenssl service-identity autobahn ];
|
|
|
|
|
2019-12-24 17:34:15 +00:00
|
|
|
# zope.interface import issue
|
|
|
|
doCheck = !isPy27;
|
|
|
|
checkInputs = [ treq mock pytest ];
|
2019-11-27 17:57:09 +00:00
|
|
|
checkPhase = ''
|
2019-12-24 17:34:15 +00:00
|
|
|
pytest
|
2019-11-27 17:57:09 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-18 19:47:20 +00:00
|
|
|
description = "Securely transfer data between computers";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/warner/magic-wormhole-mailbox-server";
|
2018-11-18 19:47:20 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|