soupault: add version test

This commit is contained in:
toastal
2022-10-26 09:49:51 +02:00
committed by Vincent Laporte
parent 82eb1d080a
commit 2e5e98b4e4
@@ -1,6 +1,8 @@
{ lib
, fetchFromGitea
, ocamlPackages
, soupault
, testers
}:
ocamlPackages.buildDunePackage rec {
@@ -37,6 +39,11 @@ ocamlPackages.buildDunePackage rec {
yaml
];
passthru.tests.version = testers.testVersion {
package = soupault;
command = "soupault --version-number";
};
meta = {
description = "A tool that helps you create and manage static websites";
homepage = "https://soupault.app/";