diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-06 09:47:00 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-18 14:07:29 +0100 |
| commit | 4a16fbdbbd9a5d7bd263de7b7aeaf5d2de4596f3 (patch) | |
| tree | fcad95d41336ee12ef5087b8181b4e62814ea39f | |
| parent | 3cae622b7e4dff9217dedce7bf8c3efb2eccdb63 (diff) | |
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
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 9338638d2db..c9d33d59637 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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 |
