From 2e5e98b4e40d2ce9ee83afd95f8d4f88cc358167 Mon Sep 17 00:00:00 2001 From: toastal Date: Tue, 25 Oct 2022 13:29:44 +0700 Subject: [PATCH] soupault: add version test --- pkgs/tools/typesetting/soupault/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/typesetting/soupault/default.nix b/pkgs/tools/typesetting/soupault/default.nix index 8607d73d62b5..bad0313a3727 100644 --- a/pkgs/tools/typesetting/soupault/default.nix +++ b/pkgs/tools/typesetting/soupault/default.nix @@ -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/";