Unverified Commit bdfd0f2a authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

anubis: 1.19.1 -> 1.20.0 (#420596)

parents 4d3d92ad c11e60c8
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -8,11 +8,7 @@
  ];

  nodes.machine =
    {
      config,
      pkgs,
      ...
    }:
    { config, pkgs, ... }:
    {
      services.anubis = {
        defaultOptions.settings = {
@@ -100,7 +96,6 @@
    machine.succeed('curl -f http://basic.localhost | grep "it works"')
    machine.succeed('curl -f http://basic.localhost -H "User-Agent: Mozilla" | grep anubis')
    machine.succeed('curl -f http://basic.localhost/metrics | grep anubis_challenges_issued')
    machine.succeed('curl -f -X POST http://basic.localhost/.within.website/x/cmd/anubis/api/make-challenge -d "redir=/" | grep challenge')

    # TCP mode
    machine.succeed('curl -f http://tcp.localhost -H "User-Agent: Mozilla" | grep anubis')
+4 −4
Original line number Diff line number Diff line
@@ -13,16 +13,16 @@

buildGoModule (finalAttrs: {
  pname = "anubis";
  version = "1.19.1";
  version = "1.20.0";

  src = fetchFromGitHub {
    owner = "TecharoHQ";
    repo = "anubis";
    tag = "v${finalAttrs.version}";
    hash = "sha256-aWdkPNwTD+ooaE0PazcOaama7k1a8n5pRxr8X6wm4zs=";
    hash = "sha256-pdfe2D9KAg/vesTgOi+b5ZVkUkuWhmZC/xYXiiYzlPs=";
  };

  vendorHash = "sha256-wJOGYOWFKep2IFzX+Hia9m1jPG+Rskg8Np9WfEc+TUY=";
  vendorHash = "sha256-cOl+eVnj6aMKIJCjCM0aacp4/Jg5BhZqFwum+u9tOKE=";

  nativeBuildInputs = [
    esbuild
@@ -34,7 +34,7 @@ buildGoModule (finalAttrs: {
    pname = "anubis-xess";
    inherit (finalAttrs) version src;

    npmDepsHash = "sha256-wI8XCUGq3aI20B++RAT3lc/nBrDMEmE9+810lewzXa0=";
    npmDepsHash = "sha256-kBnexaBAMgA7QdKevW3mmlSn+QEbkTW//hYVTRFLQeQ=";

    buildPhase = ''
      runHook preBuild