From a2a77bdbd83da79f2dca5844326f4b2b9bfcbe53 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 18 Dec 2024 02:50:11 +0000 Subject: [PATCH] gnu: Add go-modernc-org-token. * gnu/packages/golang-web.scm (go-modernc-org-token): New variable. Change-Id: I6288f8f80f703e5dc8eefd788079ae229b34001a --- gnu/packages/golang-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index f041a5e47c..9debc0f957 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -6875,6 +6875,30 @@ but implement that subset with little to no assumption about the structure of the code or routes.") (license license:asl2.0))) +(define-public go-modernc-org-token + (package + (name "go-modernc-org-token") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/cznic/token") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vvnnfppmgq7hxmw18dx90fg6khwnxpwn9kwwf0hwxsckxfb5icv")))) + (build-system go-build-system) + (arguments + (list + #:import-path "modernc.org/token")) + (home-page "https://modernc.org/token") + (synopsis "Variant of the Golang stdlib package @code{token}") + (description + "Package token is variant of the stdlib package token with types +@code{FileSet} and Token removed.") + (license license:bsd-3))) + (define-public go-mvdan-cc-xurls-v2 (package (name "go-mvdan-cc-xurls-v2")