mermerd: add version test
This commit is contained in:
parent
b03f1ceff6
commit
d4e3be78de
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue