slskd: add version test

This commit is contained in:
seth 2024-09-27 19:24:03 -04:00 committed by Melvyn
parent 02464bd414
commit d4735e4f99

View File

@ -7,6 +7,8 @@
fetchNpmDeps, fetchNpmDeps,
mono, mono,
nodejs_18, nodejs_18,
slskd,
testers,
}: }:
let let
@ -60,6 +62,10 @@ buildDotnetModule rec {
mv "$npmRoot"/build $out/lib/slskd/wwwroot mv "$npmRoot"/build $out/lib/slskd/wwwroot
''; '';
passthru = {
tests.version = testers.testVersion { package = slskd; };
};
meta = { meta = {
description = "Modern client-server application for the Soulseek file sharing network"; description = "Modern client-server application for the Soulseek file sharing network";
homepage = "https://github.com/slskd/slskd"; homepage = "https://github.com/slskd/slskd";