From dac72783f6e4319341ea00f319d808c78a3dcf1a Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 17:56:38 -0500 Subject: [PATCH] gnu: Add go-github-com-rasky-go-xdr. * gnu/packages/golang-web.scm (go-github-com-rasky-go-xdr): New variable. Change-Id: I5f004f6af0f7091a2f8fdb9ba029eabe725eea1b Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index b42248854da..1155d4e20e8 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -12108,6 +12108,40 @@ currently implements of the specification.") (license license:expat))) +(define-public go-github-com-rasky-go-xdr + (package + (name "go-github-com-rasky-go-xdr") + (version "0.0.0-20170124162913-1a41d1a06c93") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rasky/go-xdr") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0f69yfdvgwyqrj6l0zdbdb78fi6iwkqh4v6rr5ns4v63kxvnfs9s")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Module name has not been changed after been forked upstream. + (substitute* (find-files "." "\\.go$") + (("github.com/davecgh/go-xdr") "github.com/rasky/go-xdr")))))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/rasky/go-xdr")) + (propagated-inputs (list go-github-com-davecgh-go-xdr)) + (home-page "https://github.com/rasky/go-xdr") + (synopsis "XDR standard in pure Go") + (description + "This package implements the data representation portion of the External + Data Representation (XDR) standard protocol as specified in +@url{https://www.rfc-editor.org/rfc/rfc1832, RFC4506} (obsoletes RFC 1832 and +RFC 1014) in Go.") + (license license:isc))) + (define-public go-github-com-rclone-gofakes3 (package (name "go-github-com-rclone-gofakes3")