Unverified Commit 36eae724 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #232872 from dit7ya/dblab

dblab: init at 0.20.0
parents 327d7d8d 19ceafd2
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };