Commit d4e3be78 authored by figsoda's avatar figsoda
Browse files

mermerd: add version test

parent b03f1cef
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ 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";