depot/third_party/nixpkgs/pkgs/development/tools/database/dblab/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}