summary refs log tree commit diff
path: root/pkgs/tools/networking/webwormhole/default.nix
blob: 6752c862fb24c18d9f87c34c5c88c79bfcd39c94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "webwormhole";
  version = "unstable-2023-02-25";

  src = fetchFromGitHub {
    owner = "saljam";
    repo = pname;
    rev = "25b68f4f4c1aaa0c6c1949b60bd4ef52ec972ebb";
    hash = "sha256-JFmfwHBa/lNGTOIIgnMFc4VMlsXtjX9v9Tn2XpdVMfA=";
  };

  vendorHash = "sha256-+7ctAm2wnjmfMd6CHXlcAUwiUMS7cH4koDAvlEUAXEg=";

  meta = with lib; {
    description = "Send files using peer authenticated WebRTC";
    homepage = "https://github.com/saljam/webwormhole";
    license = licenses.bsd3;
    maintainers = with maintainers; [ bbigras ];
    mainProgram = "ww";
  };
}