9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
30 lines
691 B
Nix
30 lines
691 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dblab";
|
|
version = "0.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danvergara";
|
|
repo = "dblab";
|
|
rev = "v${version}";
|
|
hash = "sha256-Wg7BujAf7pTek+WPiVONRof5rYfKixXkU+OS/04m3zY=";
|
|
};
|
|
|
|
vendorHash = "sha256-vf0CeiLBVqMGV2oqxRHzhvL7SoT9zcg8P5c63z3UR3g=";
|
|
|
|
ldflags = [ "-s -w -X main.version=${version}" ];
|
|
|
|
# some tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "The database client every command line junkie deserves";
|
|
homepage = "https://github.com/danvergara/dblab";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
};
|
|
}
|