Merge pull request #303238 from kanielrkirby/new-pkg/lazysql

lazysql: init at 0.1.8
This commit is contained in:
h7x4 2024-06-16 21:21:58 +02:00 committed by GitHub
commit c9c0e6afed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View File

@ -10652,6 +10652,12 @@
githubId = 56224949;
name = "Mia Kanashi";
};
kanielrkirby = {
email = "kanielrkirby@runbox.com";
github = "kanielrkirby";
githubId = 77940607;
name = "Kaniel Kirby";
};
karantan = {
name = "Gasper Vozel";
email = "karantan@gmail.com";

View File

@ -0,0 +1,31 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, xorg ? null
, darwin ? null
}:
buildGoModule rec {
pname = "lazysql";
version = "0.1.8";
src = fetchFromGitHub {
owner = "jorgerojas26";
repo = "lazysql";
rev = "v${version}";
hash = "sha256-yPf9/SM4uET/I8FsDU1le9JgxELu0DR9k7mv8PnBwvQ=";
};
vendorHash = "sha256-tgD6qoCVC1ox15VPJWVvhe4yg3R81ktMuW2dsaU69rY=";
buildInputs = lib.optionals stdenv.isLinux [ xorg.libX11 ] ++ lib.optionals stdenv.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";
};
}