1 { lib, fetchFromGitHub, buildGoModule }:
5 version = "unstable-2021-09-04";
7 src = fetchFromGitHub {
10 rev = "d46e72c796e8aee0def71b8e3499b0ebe5ca3385";
11 sha256 = "1c3xgidhmvlcdw7v5gcqzv27cb58f1ix8sfd4r14rfz7c8kbv37v";
14 vendorSha256 = "0h9aw68niizd9gs0i890g6ij13af04qgpfy1g5pskyr4ryx0gn26";
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";