1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-30 14:01:15 +02:00

gnu: Add go-github-com-denisbrodbeck-machineid.

* gnu/packages/golang-xyz.scm (go-github-com-denisbrodbeck-machineid): New variable.

Change-Id: I10b716aaa04bcd88138b8cb9aff6d56e131d9584
This commit is contained in:
Sharlatan Hellseher
2025-10-07 18:39:29 +01:00
parent 8a42ed84d1
commit 6a2e38246d

View File

@@ -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" ;Go@1.24 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")