mermerd: add version test

This commit is contained in:
figsoda 2023-05-15 22:04:03 -04:00
parent b03f1ceff6
commit d4e3be78de

View file

@ -1,6 +1,8 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, mermerd
}:
buildGoModule rec {
@ -26,6 +28,13 @@ buildGoModule rec {
# the tests expect a database to be running
doCheck = false;
passthru.tests = {
version = testers.testVersion {
package = mermerd;
command = "mermerd version";
};
};
meta = with lib; {
description = "Create Mermaid-Js ERD diagrams from existing tables";
homepage = "https://github.com/KarnerTh/mermerd";