2023-04-12 12:48:02 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mermerd";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.7.0";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KarnerTh";
|
|
|
|
repo = "mermerd";
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-nlertvmuP9Fiuc4uVrgKzfxjOY/sE9udKZLe51t0GEY=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-RSCpkQymvUvY2bOkjhsyKnDa3vezUjC33Nwv0+O4OOQ=";
|
|
|
|
|
|
|
|
# the tests expect a database to be running
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Create Mermaid-Js ERD diagrams from existing tables";
|
|
|
|
homepage = "https://github.com/KarnerTh/mermerd";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ austin-artificial ];
|
|
|
|
changelog = "https://github.com/KarnerTh/mermerd/releases/tag/v${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|