guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6a2e38246de69e5fbce5075061473a954fef6883
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 7 18:39:29 2025 +0100
gnu: Add go-github-com-denisbrodbeck-machineid.
* gnu/packages/golang-xyz.scm (go-github-com-denisbrodbeck-machineid): New
variable.
Change-Id: I10b716aaa04bcd88138b8cb9aff6d56e131d9584
---
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 72363fdb64..afdc780def 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5680,6 +5680,35 @@ information about the music/image/video that is Now
Playing on the system.")
formatting information, rather than the current locale name.")
(license license:expat)))
+(define-public go-github-com-denisbrodbeck-machineid
+ (package
+ (name "go-github-com-denisbrodbeck-machineid")
+ (version "1.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/denisbrodbeck/machineid")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "075rqb2f9hla9jwc6823jkkb3xcv6azz3phndbssssn2dps07cib"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/denisbrodbeck/machineid"
+ #:test-flags
+ #~(list "-vet=off" ;[email protected] forces vet, but tests are not ready yet.
+ ;; id_test.go:8: machineid: open /etc/machine-id: no such file
+ ;; or directory
+ "-skip" "TestID|TestProtectedID")))
+ (home-page "https://github.com/denisbrodbeck/machineid")
+ (synopsis "Read the unique machine ID of most host OS's")
+ (description
+ "This package implements functionality for reading the unique machine
+ID (@code{/etc/machine-id}) of most OSs (without admin privileges).")
+ (license license:expat)))
+
(define-public go-github-com-dennwc-btrfs
(package
(name "go-github-com-dennwc-btrfs")