159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
30 lines
687 B
Nix
30 lines
687 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dblab";
|
|
version = "0.26.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danvergara";
|
|
repo = "dblab";
|
|
rev = "v${version}";
|
|
hash = "sha256-3v9L1mV+DZ6FlrBoGSg8tewKJVyeqqacVj3yGVtYVHc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|