From 4ab6df39c44d1c47d6ef452351a419aa421dc33e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 1 Sep 2021 00:04:20 +0000 Subject: [PATCH] sqls: init at 0.2.19 --- pkgs/applications/misc/sqls/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/misc/sqls/default.nix diff --git a/pkgs/applications/misc/sqls/default.nix b/pkgs/applications/misc/sqls/default.nix new file mode 100644 index 000000000000..d3ecfcbde2b0 --- /dev/null +++ b/pkgs/applications/misc/sqls/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "sqls"; + version = "0.2.19"; + + src = fetchFromGitHub { + owner = "lighttiger2505"; + repo = pname; + rev = "v${version}"; + sha256 = "1myypq9kdfbhl5h9h8d30a3pi89mix48wm1c38648ky9vhx0s4az"; + }; + + vendorSha256 = "13c7nv0anj260z34bd7w1hz0rkmsj9r1zz55qiwcr1vdgmvy84cz"; + + ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.revision=${src.rev}" ]; + + meta = with lib; { + homepage = "https://github.com/lighttiger2505/sqls"; + description = "SQL language server written in Go"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d88657229168..a93b9678b15b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9138,6 +9138,8 @@ with pkgs; sqliteman = callPackage ../applications/misc/sqliteman { }; + sqls = callPackage ../applications/misc/sqls { }; + stdman = callPackage ../data/documentation/stdman { }; steck = callPackage ../servers/pinnwand/steck.nix { };