soupault: add version test

This commit is contained in:
toastal 2022-10-25 13:29:44 +07:00 committed by Vincent Laporte
parent 82eb1d080a
commit 2e5e98b4e4

View file

@ -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/";