about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/go-neb
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-02 02:16:59 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-04 01:44:33 +0200
commitd72a7360c27f5346b7212a4d8611b38e3dd11a84 (patch)
treec72aa26ec7e6a20cbe9d7dd48493ba9ca96abbd4 /pkgs/applications/networking/instant-messengers/go-neb
parent642e9916c6f7013ea4d99ebe927686dcf846394b (diff)
nixos/tests/go-neb: init
Simple test to start the unit with a dummy client and a dummy service
and check if it can receive webhooks.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/go-neb')
-rw-r--r--pkgs/applications/networking/instant-messengers/go-neb/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/go-neb/default.nix b/pkgs/applications/networking/instant-messengers/go-neb/default.nix
index a82e39647de02..769e5cf55159e 100644
--- a/pkgs/applications/networking/instant-messengers/go-neb/default.nix
+++ b/pkgs/applications/networking/instant-messengers/go-neb/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildGoModule, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
 
 buildGoModule {
   pname = "go-neb";
@@ -16,6 +16,8 @@ buildGoModule {
 
   vendorSha256 = "1k3980yf6zl00dkd1djwhm2f9nnffzrsbs3kq3alpw2gm0aln739";
 
+  passthru.tests.go-neb = nixosTests.go-neb;
+
   meta = with lib; {
     description = "Extensible matrix bot written in Go";
     homepage = "https://github.com/matrix-org/go-neb";