2015-02-04 12:14:15 +00:00
|
|
|
{ lib, goPackages, fetchgit, trousers }:
|
2014-10-03 02:32:29 +01:00
|
|
|
|
2015-02-04 12:14:15 +00:00
|
|
|
with goPackages;
|
2014-10-03 02:32:29 +01:00
|
|
|
|
2015-02-04 12:14:15 +00:00
|
|
|
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";
|
|
|
|
};
|
2014-10-03 02:32:29 +01:00
|
|
|
|
2015-02-04 12:14:15 +00:00
|
|
|
subPackages = [ "client" ];
|
2014-10-03 02:32:29 +01:00
|
|
|
|
2015-04-16 17:43:09 +01:00
|
|
|
buildInputs = [ trousers net crypto protobuf ed25519 govers ];
|
2015-02-04 12:14:15 +00:00
|
|
|
|
2015-02-05 12:13:14 +00:00
|
|
|
buildFlags = "--tags nogui";
|
2014-10-03 02:32:29 +01:00
|
|
|
|
2015-02-05 17:07:28 +00:00
|
|
|
dontInstallSrc = true;
|
|
|
|
|
2014-10-03 02:32:29 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Forward secure, asynchronous messaging for the discerning";
|
|
|
|
homepage = https://pond.imperialviolet.org;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|