From 2701126e7fcdf8274288d359a39e07f748a46749 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 4 Jul 2023 04:56:13 +0000 Subject: [PATCH] pgweb: 0.14.0 -> 0.14.1 --- pkgs/development/tools/database/pgweb/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/database/pgweb/default.nix b/pkgs/development/tools/database/pgweb/default.nix index f93c2de7b547..a60ad380ce7d 100644 --- a/pkgs/development/tools/database/pgweb/default.nix +++ b/pkgs/development/tools/database/pgweb/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "pgweb"; - version = "0.14.0"; + version = "0.14.1"; src = fetchFromGitHub { owner = "sosedoff"; repo = pname; rev = "v${version}"; - sha256 = "sha256-NPuL7ffDLpnu0khJBIz+tItYyeHYPeOuTHXr4DjBgM0="; + hash = "sha256-0wwDye7Iku9+brYoVqlCpnm+A3xsr8tL2dyWaBVvres="; }; postPatch = '' @@ -16,10 +16,19 @@ buildGoModule rec { rm -f pkg/client/{client,dump}_test.go ''; - vendorSha256 = "sha256-W+Vybea4oppD4BHRqcyouQL79cF+y+sONY9MRggti20="; + vendorHash = "sha256-Jpvf6cST3kBvYzCQLoJ1fijUC/hP1ouptd2bQZ1J/Lo="; ldflags = [ "-s" "-w" ]; + checkFlags = + let + skippedTests = [ + # There is a `/tmp/foo` file on the test machine causing the test case to fail on macOS + "TestParseOptions" + ]; + in + [ "-skip" "${builtins.concatStringsSep "|" skippedTests}" ]; + meta = with lib; { description = "A web-based database browser for PostgreSQL"; longDescription = ''