python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / database / termdbms / default.nix
bloba8c56c51dbc56c7562f976e10e8edbc8d670bd6d
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "termdbms";
5   version = "unstable-2021-09-04";
7   src = fetchFromGitHub {
8     owner = "mathaou";
9     repo = "termdbms";
10     rev = "d46e72c796e8aee0def71b8e3499b0ebe5ca3385";
11     sha256 = "1c3xgidhmvlcdw7v5gcqzv27cb58f1ix8sfd4r14rfz7c8kbv37v";
12   };
14   vendorSha256 = "0h9aw68niizd9gs0i890g6ij13af04qgpfy1g5pskyr4ryx0gn26";
16   patches = [ ./viewer.patch ];
18   ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
20   meta = with lib; {
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";
26   };