1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: go-howett-net-plist: Build with default go.

* gnu/packages/golang-xyz.scm (go-howett-net-plist):
[source] <snippet>: Remove experimental command. Substitute
gopkg.in/yaml.v1 with gopkg.in/yaml.v2.
[arguments] <go>: Use default (1.24)
<test-subdirs>: Run tests over whole library.
<test-flags>: Do not vet during tests.
[native-inputs]: Add go-gopkg-in-yaml-v2.
[description]: Improve it.

Change-Id: I1d50df20c53355d0a57d80f6d731f3558f4c7217
This commit is contained in:
Sharlatan Hellseher
2026-03-06 09:47:00 +00:00
committed by Andreas Enge
parent 3cae622b7e
commit 4a16fbdbbd

View File

@@ -29599,26 +29599,37 @@ dependencies.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/DHowett/go-plist")
(commit (string-append "v" version))))
(url "https://github.com/DHowett/go-plist")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1gcrxkmdj87xq01458asgxvvijrkih74ydbzfmir1p16xr9z0x39"))))
(base32 "1gcrxkmdj87xq01458asgxvvijrkih74ydbzfmir1p16xr9z0x39"))
(modules '((guix build utils)))
(snippet
#~(begin
;; It has to be build with GOOS=js GOARCH=wasm and it is marked as
;; experemental.
(delete-file-recursively "cmd/experimental/plait")
;; v1 has been deprecated for a long time use v2 instead.
(substitute* (find-files "." "\\.go$")
(("gopkg.in/yaml.v1") "gopkg.in/yaml.v2"))))))
(build-system go-build-system)
(arguments
(list
#:go go-1.23
#:import-path "howett.net/plist"
;; cmd requires gopkg.in/yaml.v1
#:test-subdirs #~(list "internal/..." ".")))
#:test-flags
#~(list "-vet=off")))
(native-inputs
(list go-gopkg-in-yaml-v2))
(propagated-inputs
(list go-github-com-jessevdk-go-flags
go-gopkg-in-check-v1))
(home-page "https://github.com/DHowett/go-plist")
(synopsis "Apple property list transcoder")
(description
"This list transcoder supports encoding/decoding property lists (Apple
XML, Apple Binary, OpenStep, and GNUStep) from/to arbitrary Go types.")
"This package implements a functionality of encoding/decoding property
lists (Apple XML, Apple Binary, OpenStep and GNUStep) from/to arbitrary Go
types.")
(license license:giftware)))
(define-public go-k8s-io-api