Merge pull request #241410 from aaronjheng/pgweb

pgweb: 0.14.0 -> 0.14.1
This commit is contained in:
Weijia Wang
2023-07-15 10:14:33 +02:00
committed by GitHub
@@ -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 = ''