Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi, six, attrs, twisted, pyopenssl, service-identity, autobahn, treq, mock }: 2 3buildPythonPackage rec { 4 version = "0.3.1"; 5 pname = "magic-wormhole-mailbox-server"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1q6zhbx8fcpk7rchclm7yqcxdsc1x97hki2ji61sa544r5xvxv55"; 10 }; 11 12 propagatedBuildInputs = [ six attrs twisted pyopenssl service-identity autobahn ]; 13 checkInputs = [ treq mock ]; 14 15 meta = with stdenv.lib; { 16 description = "Securely transfer data between computers"; 17 homepage = https://github.com/warner/magic-wormhole-mailbox-server; 18 license = licenses.mit; 19 }; 20}