12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 hash = "sha256-SzDwVkV7rV/pctFNWzgCfsDAHqcf/R5UMRJ48o+Iel0=";
19 vendorHash = "sha256-rLOYJ/do4HSztnHrQZOUOG0Y3e3BupUGlijP5x8WtZc=";
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 mainProgram = "mermerd";
41 homepage = "https://github.com/KarnerTh/mermerd";
42 changelog = "https://github.com/KarnerTh/mermerd/releases/tag/v${version}";
43 license = licenses.mit;
44 maintainers = with maintainers; [ austin-artificial ];