syncthing: declare tests from nixosTests

wip/yesman
Emery Hemingway 4 years ago
parent 92bc6e30ec
commit 480ed5f909
  1. 7
      pkgs/applications/networking/syncthing/default.nix

@ -1,4 +1,4 @@
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, nixosTests }:
let
common = { stname, target, postInstall ? "" }:
@ -35,6 +35,11 @@ let
inherit postInstall;
passthru.tests = with nixosTests; {
init = syncthing-init;
relay = syncthing-relay;
};
meta = with lib; {
homepage = "https://www.syncthing.net/";
description = "Open Source Continuous File Synchronization";

Loading…
Cancel
Save