f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
30 lines
687 B
Nix
30 lines
687 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dblab";
|
|
version = "0.25.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danvergara";
|
|
repo = "dblab";
|
|
rev = "v${version}";
|
|
hash = "sha256-We6nOrzMKN14ez9hxEnHDLpuad9ZGcXezDQWZduHERU=";
|
|
};
|
|
|
|
vendorHash = "sha256-3vtk4pJE/zRLCbIN+UFvxF/KdH4J5IiCsQ0Wu585wnM=";
|
|
|
|
ldflags = [ "-s -w -X main.version=${version}" ];
|
|
|
|
# some tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Database client every command line junkie deserves";
|
|
homepage = "https://github.com/danvergara/dblab";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
};
|
|
}
|