croc: add passthru.tests

This commit is contained in:
Markus S. Wamser
2020-10-25 10:51:49 +01:00
committed by Frederik Rietdijk
parent 50277ebdd2
commit 166a0642d4
2 changed files with 26 additions and 1 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, callPackage}:
buildGoModule rec {
pname = "croc";
@@ -17,6 +17,11 @@ buildGoModule rec {
subPackages = [ "." ];
passthru = {
tests = {
local-relay = callPackage ./test-local-relay.nix {};
};
};
meta = with stdenv.lib; {
description =
"Easily and securely send things from one computer to another";