From 1e44558d9df86ff04ab5f7fd35ce1969b9039f3c Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 13:26:26 -0500 Subject: [PATCH] gnu: Add go-github-com-calebcase-tmpfile * gnu/packages/golang-xyz.scm (go-github-com-calebcase-tmpfile): New variable. Change-Id: Ie4344e23a6eb3d3fe1e276f0622e9fefcb430949 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index a3d7e24fe73014649a0342f0339600cc6d2abda9..88abbe6fe3ad5f9589bd42af56ad071ccbfe43f1 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3344,6 +3344,33 @@ tools using Go.") variables into structs.") (license license:expat))) +(define-public go-github-com-calebcase-tmpfile + (package + (name "go-github-com-calebcase-tmpfile") + (version "1.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/calebcase/tmpfile") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0q1bvxyrzlzlaz7rvba1h2pdkv1c9nb18zhns06sz73k2z6h53y8")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/calebcase/tmpfile")) + (propagated-inputs (list go-golang-org-x-sys)) + (home-page "https://github.com/calebcase/tmpfile") + (synopsis "Cross-platform temporary files") + (description + "This package provides a cross-platform facility for creating temporary files +that are automatically cleaned up (even in the event of an unexpected process +exit).") + (license (list license:bsd-3 + license:expat)))) + (define-public go-github-com-cention-sany-utf7 (package (name "go-github-com-cention-sany-utf7")