smokeping: Link to test

This commit is contained in:
Niklas Hambüchen 2022-10-25 15:53:23 +02:00 committed by Kerstin
parent d236f69f4d
commit ac6cf8a78b

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fping, rrdtool, perlPackages }:
{ lib, stdenv, fetchurl, fping, rrdtool, perlPackages, nixosTests }:
stdenv.mkDerivation rec {
pname = "smokeping";
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
postInstall = ''
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
'';
passthru.tests.smokeping = nixosTests.smokeping;
meta = {
description = "Network latency collector";
homepage = "http://oss.oetiker.ch/smokeping";