diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-01 16:19:18 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-18 14:07:29 +0100 |
| commit | 79e7798eada6d55554e6158677c4a2713faa9bc3 (patch) | |
| tree | 795ee7121fbfdc04ac50d3683e6d7c22eba9c81e | |
| parent | 5b57c450a9e9b693384f97bbcf149c0da436721d (diff) | |
gnu: go-github-com-coreos-go-systemd-v22: Update to 22.7.0.
* gnu/packages/golang-xyz.scm (go-github-com-coreos-go-systemd-v22): Update to 22.7.0.
[arguments] <go>: Use default (1.24).
<test-flags>: Skip one more test.
<skip-build?>: Use the parameter instead deleting phase.
<phases>: Use default 'check.
[propagated-inputs]: Add go-golang-org-x-sys.
Change-Id: Id8de55b56fcd3a1e8ed7d7dacd68ff7106f2cffd
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 134abe7c622..828df20845f 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -6695,7 +6695,7 @@ parse and compare two semantic version strings.") (define-public go-github-com-coreos-go-systemd-v22 (package (name "go-github-com-coreos-go-systemd-v22") - (version "22.5.0") + (version "22.7.0") (source (origin (method git-fetch) @@ -6704,12 +6704,15 @@ parse and compare two semantic version strings.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1vhb4cw8nw9nx8mprx829xv8w4jnwhc2lcyjljzlfafsn8nx5nyf")))) + (base32 "1hx7zms9q6gdd889cv7llw00h8q6kk3rjznx8hyfzzymq07bxqwg")))) (build-system go-build-system) (arguments (list - #:go go-1.23 + #:skip-build? #t #:import-path "github.com/coreos/go-systemd/v22" + #:test-flags + ;; TestSdNotify998914551/001/notify-socket.sock: bind: invalid argument + #~(list "-skip" "TestSdNotify") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-sdjournal-header @@ -6718,8 +6721,6 @@ parse and compare two semantic version strings.") (substitute* "sdjournal/journal.go" (("systemd/sd-journal.h") "elogind/sd-journal.h") (("systemd/sd-id128.h") "elogind/sd-id128.h"))))) - ;; XXX: Activate when go-build-system supports submodules. - (delete 'build) (add-before 'check 'remove-failing-test-files (lambda* (#:key import-path #:allow-other-keys) (with-directory-excursion (string-append "src/" import-path) @@ -6744,17 +6745,12 @@ parse and compare two semantic version strings.") "sdjournal/journal_test.go" ;; Error getting an existing function: unable to ;; open a handle to the library - "sdjournal/functions_test.go"))))) - ;; XXX: Replace when go-build-system supports nested path. - (replace 'check - (lambda* (#:key import-path tests? #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) + "sdjournal/functions_test.go")))))))) (inputs (list elogind)) (propagated-inputs - (list go-github-com-godbus-dbus-v5)) + (list go-github-com-godbus-dbus-v5 + go-golang-org-x-sys)) (home-page "https://github.com/coreos/go-systemd") (synopsis "Go bindings to systemd") (description |
