diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-08-27 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-08-27 04:20:00 +0000 |
commit | 7619eb3b44297b75239d8b7b3f1885d359f705ce (patch) | |
tree | fca0a415d74c6adef1bc757bf6e76e7a0c598161 /pkgs/development/tools/sqldef | |
parent | 0c556fceb816a7bd6b5119afff5d2a90ab4e74f4 (diff) |
sqldef: 0.12.7 -> 0.16.4
Diff: https://github.com/k0kubun/sqldef/compare/v0.12.7...v0.16.4 Changelog: https://github.com/k0kubun/sqldef/blob/v0.16.4/CHANGELOG.md
Diffstat (limited to 'pkgs/development/tools/sqldef')
-rw-r--r-- | pkgs/development/tools/sqldef/default.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/development/tools/sqldef/default.nix b/pkgs/development/tools/sqldef/default.nix index fd188891ab3b9..6ce1d02e9f856 100644 --- a/pkgs/development/tools/sqldef/default.nix +++ b/pkgs/development/tools/sqldef/default.nix @@ -1,25 +1,30 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, libpg_query, xxHash, postgresql }: buildGoModule rec { pname = "sqldef"; - version = "0.12.7"; + version = "0.16.4"; src = fetchFromGitHub { owner = "k0kubun"; - repo = pname; + repo = "sqldef"; 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 doCheck = false; meta = with lib; { 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"; + changelog = "https://github.com/k0kubun/sqldef/blob/v${version}/CHANGELOG.md"; maintainers = with maintainers; [ kgtkr ]; }; } |