mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
36169eba89
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-magic-wormhole-transit-relay/versions
26 lines
595 B
Nix
26 lines
595 B
Nix
{ lib, buildPythonPackage, fetchPypi, twisted, mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "magic-wormhole-transit-relay";
|
|
version = "0.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ppsx2s1ysikns1h053x67z2zmficbn3y3kf52bzzslhd2s02j6b";
|
|
};
|
|
|
|
propagatedBuildInputs = [ twisted ];
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
checkPhase = ''
|
|
${twisted}/bin/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;
|
|
};
|
|
}
|