merecat: add version test

This commit is contained in:
Francesco Gazzetta 2022-10-19 10:47:04 +02:00
parent 9f50ee94a5
commit ada312b3c4

View file

@ -5,6 +5,8 @@
, pkg-config
, libconfuse
, libxcrypt
, testers
, merecat
}:
stdenv.mkDerivation rec {
@ -29,6 +31,13 @@ stdenv.mkDerivation rec {
libxcrypt
];
passthru.tests = {
testVersion = testers.testVersion {
package = merecat;
command = "merecat -V";
};
};
meta = with lib; {
description = "Small and made-easy HTTP/HTTPS server based on Jef Poskanzer's thttpd";
homepage = "https://troglobit.com/projects/merecat/";