merecat: add version test
This commit is contained in:
parent
9f50ee94a5
commit
ada312b3c4
1 changed files with 9 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue