blob: cc4f6a9cfd8eb4197700cbf86d8d2a9a629fc281 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dblab";
version = "0.21.0";
src = fetchFromGitHub {
owner = "danvergara";
repo = "dblab";
rev = "v${version}";
hash = "sha256-3Bmus2yVTwvy0CpoNE1mzVvocpBnRoI11Sf+x2JXhgM=";
};
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 ];
};
}
|