1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/python-modules/magic-wormhole-transit-relay/default.nix
2018-04-08 11:34:54 +02:00

26 lines
610 B
Nix

{ lib, buildPythonPackage, fetchPypi, twisted, mock }:
buildPythonPackage rec {
pname = "magic-wormhole-transit-relay";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "b13f1bfab295150b25958014d93fcd9f744d92011d186d7381575465587b8587";
};
propagatedBuildInputs = [ twisted ];
checkInputs = [ mock ];
checkPhase = ''
python -m twisted.trial wormhole_transit_relay
'';
meta = with lib; {
description = "Transit Relay server for Magic-Wormhole";
homepage = https://github.com/warner/magic-wormhole-transit-relay;
license = licenses.mit;
};
}