From d7cfb2ce9a2ae15b48e181a985b65ccf53e4b903 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 9 Aug 2022 15:14:10 +0800 Subject: [PATCH 1/2] sqlc: 1.14.0 -> 1.15.0 --- pkgs/development/tools/database/sqlc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/sqlc/default.nix b/pkgs/development/tools/database/sqlc/default.nix index 85031b3aad70..b9f589b4c0c7 100644 --- a/pkgs/development/tools/database/sqlc/default.nix +++ b/pkgs/development/tools/database/sqlc/default.nix @@ -1,7 +1,7 @@ { lib, buildGoModule, fetchFromGitHub }: let - version = "1.14.0"; + version = "1.15.0"; in buildGoModule { pname = "sqlc"; @@ -11,11 +11,11 @@ buildGoModule { owner = "kyleconroy"; repo = "sqlc"; rev = "v${version}"; - sha256 = "sha256-+JkNuN5Hv1g1+UpJEBZpf7QV/3A85IVzMa5cfeRSQRo="; + sha256 = "sha256-Ufa5A+lsFSyxe7s0DbLhWW298Y1yaSCazMjGBryyMYY="; }; proxyVendor = true; - vendorSha256 = "sha256-QG/pIsK8krBaO5IDgln10jpCnlw3XC8sIYyzuwYjTs0="; + vendorSha256 = "sha256-KatF4epCzyQCoAGk1verjAYNrFcmcLiVyDI2542Vm3k="; subPackages = [ "cmd/sqlc" ]; From 5e3486c15c26c0e0053bbebdf59fac2b6b995ba1 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 9 Aug 2022 15:45:53 +0800 Subject: [PATCH 2/2] sqlc: Eliminate use of `with` --- pkgs/development/tools/database/sqlc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/sqlc/default.nix b/pkgs/development/tools/database/sqlc/default.nix index b9f589b4c0c7..12133f6daa87 100644 --- a/pkgs/development/tools/database/sqlc/default.nix +++ b/pkgs/development/tools/database/sqlc/default.nix @@ -19,10 +19,10 @@ buildGoModule { subPackages = [ "cmd/sqlc" ]; - meta = with lib; { + meta = { description = "Generate type-safe code from SQL"; homepage = "https://sqlc.dev/"; - license = licenses.mit; - maintainers = [ maintainers.adisbladis ]; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.adisbladis ]; }; }