base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / wo / wormhole-william / package.nix
blobaeecc73e64d9455396939af117378953b72a90ea
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "wormhole-william";
5   version = "1.0.7";
7   src = fetchFromGitHub {
8     owner = "psanford";
9     repo = "wormhole-william";
10     rev = "v${version}";
11     sha256 = "sha256-KLj9ZeLcIOWA4VeuxfoOr99kUCDb7OARX/h9DSG1WHw=";
12   };
14   vendorHash = "sha256-oJz7HgtjuP4ooXdpofIKaDndGg4WqVZgbT8Yb1AyaMs=";
16   __darwinAllowLocalNetworking = true;
18   preCheck = ''
19     # wormhole_test.go:692: failed to establish connection
20     substituteInPlace wormhole/wormhole_test.go \
21       --replace "TestWormholeDirectoryTransportSendRecvDirect" \
22                 "SkipWormholeDirectoryTransportSendRecvDirect"
23   '';
25   meta = with lib; {
26     homepage = "https://github.com/psanford/wormhole-william";
27     description = "End-to-end encrypted file transfers";
28     changelog = "https://github.com/psanford/wormhole-william/releases/tag/v${version}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ psanford ];
31     mainProgram = "wormhole-william";
32   };