pond: Migrate to go-packages

This commit is contained in:
William A. Kennington III 2015-09-02 22:17:45 -07:00
parent 20a1c9cc3b
commit 4bd817b82a
3 changed files with 12 additions and 31 deletions

View File

@ -1,30 +0,0 @@
{ 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 govers ];
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;
};
}

View File

@ -12543,7 +12543,7 @@ let
inherit (xorg) libXpm;
};
pond = callPackage ../applications/networking/pond { };
pond = goPackages.pond.bin // { outputs = [ "bin" ]; };
ponymix = callPackage ../applications/audio/ponymix { };

View File

@ -1969,6 +1969,17 @@ let
doCheck = false; # bad import path in tests
};
pond = buildFromGitHub {
rev = "bce6e0dc61803c23699c749e29a83f81da3c41b2";
owner = "agl";
repo = "pond";
sha256 = "1dmgbg4ak3jkbgmxh0lr4hga1nl623mh7pvsgby1rxl4ivbzwkh4";
buildInputs = [ net crypto protobuf ed25519 pkgs.trousers pkgs.dclxvi ];
buildFlags = "-tags nogui";
excludedPackages = "appengine";
};
pongo2 = buildFromGitHub {
rev = "5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9";
date = "2014-10-27";