12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-oYX1473bfZHwCscIpZSDfkKgIsGMcmkFGfWI400Maao=";
19 vendorHash = "sha256-RSCpkQymvUvY2bOkjhsyKnDa3vezUjC33Nwv0+O4OOQ=";
24 "-X=main.version=${version}"
25 "-X=main.commit=${src.rev}"
28 # the tests expect a database to be running
32 version = testers.testVersion {
34 command = "mermerd version";
39 description = "Create Mermaid-Js ERD diagrams from existing tables";
40 homepage = "https://github.com/KarnerTh/mermerd";
41 changelog = "https://github.com/KarnerTh/mermerd/releases/tag/v${version}";
42 license = licenses.mit;
43 maintainers = with maintainers; [ austin-artificial ];