2016-09-16 17:53:56 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 09:18:42 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "xmpp-client-${version}";
|
2016-09-16 15:55:49 +01:00
|
|
|
version = "20160916-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "abbf9020393e8caae3e8996a16ce48446e31cf0e";
|
2016-06-05 09:18:42 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/agl/xmpp-client";
|
|
|
|
|
2016-09-16 17:53:56 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "agl";
|
|
|
|
repo = "xmpp-client";
|
2016-06-05 09:18:42 +01:00
|
|
|
inherit rev;
|
2016-09-16 15:55:49 +01:00
|
|
|
sha256 = "0j9mfr208cachzm39i8b94v5qk9hws278vv2ms9ma4wn16wns81s";
|
2016-06-05 09:18:42 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-05 09:18:42 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An XMPP client with OTR support";
|
|
|
|
homepage = https://github.com/agl/xmpp-client;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ codsl ];
|
|
|
|
};
|
|
|
|
}
|