about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-07-15 10:14:33 +0200
committerGitHub <noreply@github.com>2023-07-15 10:14:33 +0200
commit2534a7ff3c87439e8a775e4b3fdb440eb38fc2b0 (patch)
tree81a9a74bce5ead4b9af7ee9023303195e7679227 /pkgs
parente3fdc3fac963fcad9d604c5be54756aee2675804 (diff)
parent2701126e7fcdf8274288d359a39e07f748a46749 (diff)
Merge pull request #241410 from aaronjheng/pgweb
pgweb: 0.14.0 -> 0.14.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/database/pgweb/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/tools/database/pgweb/default.nix b/pkgs/development/tools/database/pgweb/default.nix
index f93c2de7b5478..a60ad380ce7d4 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 = ''