blob: 8d6e2c93fad09eb41f47757469313476f9d5eec5 (
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
31
|
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, xorg ? null
, darwin ? null
}:
buildGoModule rec {
pname = "lazysql";
version = "0.2.9";
src = fetchFromGitHub {
owner = "jorgerojas26";
repo = "lazysql";
rev = "v${version}";
hash = "sha256-6aJrLkmebOhLrnVhl9cnbW1ZBt0vq8lR7Lhz9nPFr8Q=";
};
vendorHash = "sha256-celee8uyoirX+vtAww2iQJtRwJEHyfHL2mZA2muSRiQ=";
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ xorg.libX11 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
meta = with lib; {
description = "A cross-platform TUI database management tool written in Go";
homepage = "https://github.com/jorgerojas26/lazysql";
license = licenses.mit;
maintainers = with maintainers; [ kanielrkirby ];
mainProgram = "lazysql";
};
}
|