mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
sqlc: init at 1.13.0
This commit is contained in:
parent
d999ca3e08
commit
54c84396c8
31
pkgs/development/tools/database/sqlc/default.nix
Normal file
31
pkgs/development/tools/database/sqlc/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "1.13.0";
|
||||
in
|
||||
buildGoModule {
|
||||
pname = "sqlc";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyleconroy";
|
||||
repo = "sqlc";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HPCt47tctVV8Oz9/7AoVMezIAv6wEsaB7B4rgo9/fNU=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorSha256 = "sha256-zZ0IrtfQvczoB7th9ZCUlYOtyZr3Y3yF0pKzRCqmCjo=";
|
||||
|
||||
subPackages = [ "cmd/sqlc" ];
|
||||
|
||||
meta = let
|
||||
inherit (lib) licenses platforms maintainers;
|
||||
in {
|
||||
description = " Generate type-safe code from SQL";
|
||||
homepage = "https://sqlc.dev/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.adisbladis ];
|
||||
};
|
||||
}
|
|
@ -16218,6 +16218,8 @@ with pkgs;
|
|||
|
||||
spruce = callPackage ../development/tools/misc/spruce {};
|
||||
|
||||
sqlc = callPackage ../development/tools/database/sqlc { };
|
||||
|
||||
sqlcheck = callPackage ../development/tools/database/sqlcheck { };
|
||||
|
||||
sqlitebrowser = libsForQt5.callPackage ../development/tools/database/sqlitebrowser { };
|
||||
|
|
Loading…
Reference in a new issue