blob: 68e75f60254981b990c3bc08c192910db82c0d06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, buildGoModule, fetchFromGitHub }:
let
version = "1.25.0";
in
buildGoModule {
pname = "sqlc";
inherit version;
src = fetchFromGitHub {
owner = "sqlc-dev";
repo = "sqlc";
rev = "v${version}";
hash = "sha256-VrR/oSGyKtbKHfQaiLQ9oKyWC1Y7lTZO1aUSS5bCkKY=";
};
proxyVendor = true;
vendorHash = "sha256-C5OOTAYoSt4anz1B/NGDHY5NhxfyTZ6EHis04LFnMPM=";
subPackages = [ "cmd/sqlc" ];
meta = {
description = "Generate type-safe code from SQL";
mainProgram = "sqlc";
homepage = "https://sqlc.dev/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.adisbladis ];
};
}
|