diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2023-11-01 17:41:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 17:41:12 +0100 |
commit | 8c3e35510660fd6be9c099236f80fe921f1a6dc9 (patch) | |
tree | a1142a7d0b253555860336cc2944e426ed8503d3 /pkgs/development/tools/database | |
parent | 71a457ff851f3e8d427a33e9a25406ab75b4c5e6 (diff) | |
parent | 441a4c04da8f4fbe8fc33f5a9a1c621c51e7dd4a (diff) |
Merge pull request #264339 from gaelreyrol/pgweb-update-0.14.2
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r-- | pkgs/development/tools/database/pgweb/default.nix | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/development/tools/database/pgweb/default.nix b/pkgs/development/tools/database/pgweb/default.nix index a60ad380ce7d4..affda7ff49e20 100644 --- a/pkgs/development/tools/database/pgweb/default.nix +++ b/pkgs/development/tools/database/pgweb/default.nix @@ -1,14 +1,19 @@ -{ buildGoModule, fetchFromGitHub, lib }: +{ lib +, buildGoModule +, fetchFromGitHub +, testers +, pgweb +}: buildGoModule rec { pname = "pgweb"; - version = "0.14.1"; + version = "0.14.2"; src = fetchFromGitHub { owner = "sosedoff"; repo = pname; rev = "v${version}"; - hash = "sha256-0wwDye7Iku9+brYoVqlCpnm+A3xsr8tL2dyWaBVvres="; + hash = "sha256-gM7hqFriXkcwNO+I3d138kfp1F4YsO/Qbq0NzMszkwM="; }; postPatch = '' @@ -29,7 +34,14 @@ buildGoModule rec { in [ "-skip" "${builtins.concatStringsSep "|" skippedTests}" ]; + passthru.tests.version = testers.testVersion { + version = "v${version}"; + package = pgweb; + command = "pgweb --version"; + }; + meta = with lib; { + changelog = "https://github.com/sosedoff/pgweb/releases/tag/v${version}"; description = "A web-based database browser for PostgreSQL"; longDescription = '' A simple postgres browser that runs as a web server. You can view data, @@ -37,6 +49,7 @@ buildGoModule rec { ''; homepage = "https://sosedoff.github.io/pgweb/"; license = licenses.mit; + mainProgram = "pgweb"; maintainers = with maintainers; [ zupo luisnquin ]; }; } |