anubis: 1.19.1 -> 1.20.0 (#420596)

This commit is contained in:
Felix Bargfeldt 2025-07-01 07:58:53 +02:00 committed by GitHub
commit bdfd0f2afc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 10 deletions

View File

@ -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')

View File

@ -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