From cd25751bfb6462b77cefed72303e701e97e460da Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 7 Mar 2026 17:11:52 +0000 Subject: [PATCH] gnu: Add go-github-com-google-martian-v3. * gnu/packages/golang-web.scm (go-github-com-google-martian-v3): New variable. Change-Id: I44fcd00b93fcab0a37de5dee28ca2ba2d2cc3169 --- gnu/packages/golang-web.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 2024acda6b..30e13b76f5 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -6930,6 +6930,51 @@ parameters.") "This package provides packet processing capabilities for Go.") (license license:bsd-3))) +(define-public go-github-com-google-martian-v3 + (package + (name "go-github-com-google-martian-v3") + (version "3.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/martian") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0js95rw72mklxx8dilqdc86a50yhvykyczck4ci3xx6090p3fj2q")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/google/martian/v3" + #:test-flags + #~(list "-vet=off" + "-skip" (string-join + ;; Panic during test and mismatched assertions. + (list "TestEcho" + "TestFileExistsInBothExplictlyMappedPathAndInferredPath" + "TestLargeEcho/Gzip" + "TestLargeEcho/RawData" + "TestModifierFromJSON" + "TestProcessorChaining" + "TestRequestEditor" + "TestRequestOverHTTPS" + "TestStaticModifierExplicitPathMapping" + "TestStaticModifierOnRequest" + "TestStaticModifierSingleRangeRequest") + "|")))) + (propagated-inputs + (list go-github-com-golang-snappy + go-golang-org-x-net + go-google-golang-org-grpc + go-google-golang-org-protobuf)) + (home-page "https://github.com/google/martian") + (synopsis "Library for building custom HTTP/S proxies") + (description + "Package martian provides an HTTP/1.1 proxy with an API for configurable +request and response modifiers.") + (license license:asl2.0))) + (define-public go-github-com-google-nftables (package (name "go-github-com-google-nftables")