diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-06-08 07:31:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 07:31:25 +0200 |
commit | 36eae7248f43412384fa441b7e8a80c29e742304 (patch) | |
tree | 5525bc011a4990a24d8f7ec2fa12d8fb7455766c /pkgs/development/tools/database | |
parent | 327d7d8db6c24a3eaa4c7eee8efbee23590ba69b (diff) | |
parent | 19ceafd2abd7ca44d03ff95471e471eecfb3d2a8 (diff) |
Merge pull request #232872 from dit7ya/dblab
dblab: init at 0.20.0
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r-- | pkgs/development/tools/database/dblab/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/tools/database/dblab/default.nix b/pkgs/development/tools/database/dblab/default.nix new file mode 100644 index 0000000000000..0dea7530e4269 --- /dev/null +++ b/pkgs/development/tools/database/dblab/default.nix @@ -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 ]; + }; +} |