chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / zo / zoraxy / package.nix
blob46afd4e170b12f5363689523f42fe4a68173fda0
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "zoraxy";
9   version = "3.1.1";
10   src = fetchFromGitHub {
11     owner = "tobychui";
12     repo = "zoraxy";
13     rev = "refs/tags/${version}";
14     hash = "sha256-ZjsBGtY6M5jIXylzg4k8U4krwqx5d5VuMiVHAeUIbXY=";
15   };
17   sourceRoot = "${src.name}/src";
19   vendorHash = "sha256-p2nczUMT3FfYX32yvbR0H5FyHV2v9I18yvn0lwUwy+A=";
21   checkFlags =
22     let
23       # Skip tests that require network access
24       skippedTests = [
25         "TestExtractIssuerNameFromPEM"
26         "TestReplaceLocationHost"
27         "TestReplaceLocationHostRelative"
28         "TestHandleTraceRoute"
29         "TestHandlePing"
30       ];
31     in
32     [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
34   meta = {
35     description = "General purpose HTTP reverse proxy and forwarding tool written in Go";
36     homepage = "https://zoraxy.arozos.com/";
37     changelog = "https://github.com/tobychui/zoraxy/blob/v${version}/CHANGELOG.md";
38     license = lib.licenses.agpl3Only;
39     maintainers = [ lib.maintainers.luftmensch-luftmensch ];
40     mainProgram = "zoraxy";
41     platforms = lib.platforms.linux;
42   };