commit
36eae7248f
30
pkgs/development/tools/database/dblab/default.nix
Normal file
30
pkgs/development/tools/database/dblab/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -4612,6 +4612,8 @@ with pkgs;
|
|||
|
||||
dbus-broker = callPackage ../os-specific/linux/dbus-broker { };
|
||||
|
||||
dblab = callPackage ../development/tools/database/dblab { };
|
||||
|
||||
dbx = callPackage ../applications/misc/dbx { };
|
||||
|
||||
ioport = callPackage ../os-specific/linux/ioport { };
|
||||
|
|
Loading…
Reference in a new issue