diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-08-28 07:46:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 07:46:30 -0500 |
commit | 7905c28195fe983f79174b5c4c8edff07732c26c (patch) | |
tree | 11fd2d23f1ebae03473da9628c717b42dfda9533 | |
parent | 49422faef7e31cb81ead3906a0ae30391c4a0693 (diff) | |
parent | 7619eb3b44297b75239d8b7b3f1885d359f705ce (diff) |
Merge pull request #251848 from marsam/update-sqldef
sqldef: 0.12.7 -> 0.16.4
-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 ]; }; } |