summary refs log tree commit diff
path: root/pkgs/applications/networking/pond/default.nix
blob: 59e381e9e22248166f31da213682f230da78a538 (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
24
25
26
27
28
29
30
{ lib, goPackages, fetchgit, trousers }:

with goPackages;

buildGoPackage rec {
  rev = "f4e441c77a2039814046ff8219629c547fe8b689";
  name = "pond-${lib.strings.substring 0 7 rev}";
  goPackagePath = "github.com/agl/pond";
  src = fetchgit {
    inherit rev;
    url = "git://github.com/agl/pond.git";
    sha256 = "f2dfc6cb96cc4b8ae732e41d1958b62036f40cb346df2e14f27b5964a1416026";
  };

  subPackages = [ "client" ];

  buildInputs = [ trousers net crypto protobuf ed25519 ];
    
  buildFlags = "--tags nogui";

  dontInstallSrc = true;

  meta = with lib; {
    description = "Forward secure, asynchronous messaging for the discerning";
    homepage = https://pond.imperialviolet.org;
    license = licenses.bsd3;
    platforms = platforms.linux;
  };
}