about summary refs log tree commit diff
path: root/pkgs/tools/networking/webwormhole/default.nix
blob: aed0b624d44a6403fe4305dce9d57a93d23f799f (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-2021-01-16";

  src = fetchFromGitHub {
    owner = "saljam";
    repo = pname;
    rev = "c85e196c8a8a885815136aa8aee1958ad80a3bb5";
    sha256 = "D10xmBwmEbeR3nU4CmppFBzdeE4Pm2+o/Vb5Yd+pPtM=";
  };

  vendorSha256 = "sha256-yK04gjDO6JSDcJULcbJBBuPBhx792JNn+B227lDUrWk=";

  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";
  };
}