parent
d999ca3e08
commit
54c84396c8
@ -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 ]; |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue