diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2022-10-19 10:47:04 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2022-10-31 09:24:26 +0100 |
commit | ada312b3c41a24dd8a5c78903a09281857fecb55 (patch) | |
tree | 81ddacd50ad87ac3a12dd8a24cbd5efde0f326a3 /pkgs/servers/http | |
parent | 9f50ee94a54a6b8d08dfc397fac3f4624a640e74 (diff) |
merecat: add version test
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/merecat/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/servers/http/merecat/default.nix b/pkgs/servers/http/merecat/default.nix index 6c38939585411..a71df96f6de2b 100644 --- a/pkgs/servers/http/merecat/default.nix +++ b/pkgs/servers/http/merecat/default.nix @@ -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/"; |