From 50b5f09d81ee6530ea33c23377de47f474a044ca Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 17 Aug 2025 12:20:02 -0300 Subject: [PATCH] gnu: Add go-github-com-freddierice-go-losetup. * gnu/packages/golang-xyz.scm (go-github-com-freddierice-go-losetup): New variable. Change-Id: Ic130aadebf984ad120b45bd8c83dbe13ae6886b7 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0222c4cfa59790913cd7ff56b3f30413540ba807..84fb7feb42f125b583fdbf3b49f740e7ca8fcdeb 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -7012,6 +7012,35 @@ quoting, commenting, and escaping.") "@code{gg} is a library for rendering 2D graphics in pure Go.") (license license:expat))) +(define-public go-github-com-freddierice-go-losetup + (package + (name "go-github-com-freddierice-go-losetup") + (version "2.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freddierice/go-losetup") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qhc81r3cxhx16c7pkgwpkhkz1xn47xjcgfwydvlgh9f04cyydpq")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "vendor"))))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/freddierice/go-losetup")) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/freddierice/go-losetup") + (synopsis "Loop devices for Golang") + (description + ;; XXX: Project's REAME lacks details. + "This package implements @code{/dev/loop} device in Go.") + (license license:expat))) + (define-public go-github-com-fsnotify-fsnotify (package (name "go-github-com-fsnotify-fsnotify")