2021-09-07 06:01:08 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "termdbms";
|
|
|
|
version = "unstable-2021-09-04";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mathaou";
|
|
|
|
repo = "termdbms";
|
|
|
|
rev = "d46e72c796e8aee0def71b8e3499b0ebe5ca3385";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-+4y9JmLnu0xCJs1p1GNwqCx2xP6YvbIPb4zuClt8fbA=";
|
2021-09-07 06:01:08 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-RtgHus8k+6lvecG7+zABTo0go3kgoQj0S+3HaJHhKkE=";
|
2021-09-07 06:01:08 +00:00
|
|
|
|
|
|
|
patches = [ ./viewer.patch ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mathaou/termdbms/";
|
|
|
|
description = "A TUI for viewing and editing database files";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ izorkin ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "sqlite3-viewer";
|
2021-09-07 06:01:08 +00:00
|
|
|
};
|
|
|
|
}
|