Mario Rodas 2023-08-27 04:20:00 +00:00
parent 0c556fceb8
commit 7619eb3b44

View file

@ -1,25 +1,30 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub, libpg_query, xxHash, postgresql }:
buildGoModule rec { buildGoModule rec {
pname = "sqldef"; pname = "sqldef";
version = "0.12.7"; version = "0.16.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "k0kubun"; owner = "k0kubun";
repo = pname; repo = "sqldef";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-HyM2HTdQgH+2vFe+1q02zmaD/A1M5h6Z56Wff9qxaHM="; hash = "sha256-HQ6WyeKYRd+pY/P2Bsu7W2eMjgpjUhbwEFE7bADrxDY=";
}; };
vendorSha256 = "sha256-T1Kdtpm90fy93mYWQz13k552wWGB96BOeN8NtTuuj0c="; proxyVendor = true;
vendorHash = "sha256-YdZo2XN+425s0K/3COqQx3g1Bpus4uWiwnzrYJ8qdOM=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
# The test requires a running database # The test requires a running database
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
description = "Idempotent SQL schema management tool"; description = "Idempotent SQL schema management tool";
license = with licenses; [ mit /* for everythnig except parser */ asl20 /* for parser */ ]; license = with licenses; [ mit /* for everything except parser */ asl20 /* for parser */ ];
homepage = "https://github.com/k0kubun/sqldef"; homepage = "https://github.com/k0kubun/sqldef";
changelog = "https://github.com/k0kubun/sqldef/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ kgtkr ]; maintainers = with maintainers; [ kgtkr ];
}; };
} }