1 { lib, fetchFromGitHub, buildGoModule }:
5 version = "unstable-2021-09-04";
7 src = fetchFromGitHub {
10 rev = "d46e72c796e8aee0def71b8e3499b0ebe5ca3385";
11 hash = "sha256-+4y9JmLnu0xCJs1p1GNwqCx2xP6YvbIPb4zuClt8fbA=";
14 vendorHash = "sha256-RtgHus8k+6lvecG7+zABTo0go3kgoQj0S+3HaJHhKkE=";
16 patches = [ ./viewer.patch ];
18 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
21 homepage = "https://github.com/mathaou/termdbms/";
22 description = "A TUI for viewing and editing database files";
23 license = licenses.mit;
24 maintainers = with maintainers; [ izorkin ];
25 mainProgram = "sqlite3-viewer";