depot/third_party/nixpkgs/pkgs/development/tools/database/mermerd/default.nix

31 lines
750 B
Nix
Raw Normal View History

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "mermerd";
version = "0.6.1";
src = fetchFromGitHub {
owner = "KarnerTh";
repo = "mermerd";
rev = "refs/tags/v${version}";
hash = "sha256-8GXI5UEDGx5E+YzcAoguvKeNTwpC5ftReIvrKGg31ZA=";
};
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}";
};
}