syncthing: declare tests from nixosTests
This commit is contained in:
parent
92bc6e30ec
commit
480ed5f909
|
@ -1,4 +1,4 @@
|
||||||
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
|
{ buildGoModule, stdenv, lib, procps, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
common = { stname, target, postInstall ? "" }:
|
common = { stname, target, postInstall ? "" }:
|
||||||
|
@ -35,6 +35,11 @@ let
|
||||||
|
|
||||||
inherit postInstall;
|
inherit postInstall;
|
||||||
|
|
||||||
|
passthru.tests = with nixosTests; {
|
||||||
|
init = syncthing-init;
|
||||||
|
relay = syncthing-relay;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.syncthing.net/";
|
homepage = "https://www.syncthing.net/";
|
||||||
description = "Open Source Continuous File Synchronization";
|
description = "Open Source Continuous File Synchronization";
|
||||||
|
|
Loading…
Reference in New Issue