Compare commits

...

31 Commits

Author SHA1 Message Date
Sharlatan Hellseher
dd2c600e8f gnu: go-github-com-sigstore-rekor-tiles-v2: Add more missing inputs.
* gnu/packages/golang-web.scm (go-github-com-sigstore-rekor-tiles-v2):
[arguments] <test-flags>: Run more tests.
[propagated-inputs]: Add go-cloud-google-com-go-spanner,
go-github-com-chainguard-dev-clog, and
go-github-com-transparency-dev-tessera.

Change-Id: I25d364114e8f4bc38a8aa3234f4952c5f6c58da9
2026-04-26 12:59:22 +01:00
Patrick Norton
2a3492b086 gnu: Add go-github-com-alingse-asasalint.
* gnu/packages/golang-check.scm (go-github-com-alingse-asasalint): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: Ia17d862ae911c00dac08256c0c2be61cbb422a8e
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
850300f874 gnu: Add go-github-com-alexkohler-prealloc.
* gnu/packages/golang-check.scm (go-github-com-alexkohler-prealloc): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: Ib7fffc1dbc1a026606dbd619b3db50b4c639eb8b
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
0c05c14a1c gnu: Add go-github-com-akutz-memconn.
* gnu/packages/golang-web.scm (go-github-com-akutz-memconn): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I4983368885e32dbe8eb048ad40c2b4b244d5a691
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
f340255ac3 gnu: Add go-fyne-io-systray.
* gnu/packages/golang-xyz.scm (go-fyne-io-systray): New variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I026a0fc3045af9c3d6733973f88c8184d78596f6
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
c60385e7f3 gnu: Add go-codeberg-org-chavacava-garif.
* gnu/packages/golang-xyz.scm (go-codeberg-org-chavacava-garif): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I701c4e3d7a55b7af146f6362d2ec1ff9060e54c5
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
11c071147e gnu: Add go-github-com-transparency-dev-tessera.
* gnu/packages/golang-web.scm (go-github-com-transparency-dev-tessera): New variable.

Change-Id: I4424fb0e10dfd17b34e1c122f7aec78c1a83de67
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
505d54e113 gnu: Add go-go-opentelemetry-io-contrib-detectors-aws-ecs.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-contrib-detectors-aws-ecs): New variable.

Change-Id: I81e34bde1c85014bff5b3010dbb66453ba9d9f08
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
adb6bc8174 gnu: Add go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2): New variable.

Change-Id: I7dee3d4de6ef305e6ed8bafbedbba9754f008d17
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
9572ef816c gnu: Add go-github-com-brunoscheufler-aws-ecs-metadata-go.
* gnu/packages/golang-web.scm (go-github-com-brunoscheufler-aws-ecs-metadata-go): New variable.

Change-Id: I2862a77b66b0b78286dc4c3d0c799746e8e0978c
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
3141f98eab gnu: Add go-github-com-bitfield-script.
* gnu/packages/golang-xyz.scm (go-github-com-bitfield-script): New variable.

Change-Id: I732c56dff8d4af296998b0f9946ff7d90cf23199
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
e45b76740c gnu: Add go-github-com-chainguard-dev-clog.
* gnu/packages/golang-xyz.scm (go-github-com-chainguard-dev-clog): New variable.

Change-Id: Ia187d4153d24e982f85747565ffcdc33c26fe237
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
7d3faf9adb gnu: Add go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace):
New variable.

Change-Id: I2df3bb8acb7986a06ba2827253c83332a1123829
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
d157829459 gnu: Add go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock): New variable.

Change-Id: I58b9ce7873b77744ddb2c4812708ce9eb9a6268b
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
deb1281afd gnu: Add go-cloud-google-com-go-logging.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-logging): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "logging" directory.

Change-Id: I74650b7120356f780b2344b75e71734977b0f5e7
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
eb3dbd7e8d gnu: Add go-cloud-google-com-go-trace.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-trace): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "trace" directory.

Change-Id: Id2965aaa5107ef59d78023dc313525482a6e0e13
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
becde8b26b gnu: Add go-cloud-google-com-go-spanner.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-spanner): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "spanner" dirrectory.
[arguments] <test-flags>: Remove "spanner/spansql" from the scope.

Change-Id: If6da09f19d8b2c9e2937da7256d468693b7c0508
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
05ed48dba4 gnu: Add go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp): New variable.

Change-Id: Ia4b5bcceaadb7c9e46822be5451101c8aaab55be
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
f826fb50e2 gnu: Add go-github-com-robinus2-golang-moving-average.
* gnu/packages/golang-maths.scm (go-github-com-robinus2-golang-moving-average): New variable.

Change-Id: Icf77b13b7a07a83e81ef81be2e1d39ac3be91ec2
2026-04-26 12:59:19 +01:00
Patrick Norton
cd1459572c gnu: go-github-com-google-go-tpm: Update to 0.9.4.
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm): Update to 0.9.4.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I23189ffe8e8f3932271aa70be77cd03e97a35767
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:19 +01:00
Patrick Norton
0b24f42085 gnu: go-gvisor-dev-gvisor: Update to 0.0.0-1.9414b50.
* gnu/packages/golang-xyz.scm (go-gvisor-dev-gvisor): Update to
9414b50a5633100fd7299a5a7998742575dcb669 commit.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I223906664b92768cca076243ee007abad5981283
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
56b8d8f33e gnu: go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc: Update to 1.43.0.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc): Update to 1.43.0.
[argumens] <skip-build?, tests?>: Enable.
[propagated-inputs]: Remove go-go-uber-org-goleak; add
go-go-opentelemetry-io-otel,
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace,
go-go-opentelemetry-io-otel-metric,
go-go-opentelemetry-io-otel-metric-x, go-go-opentelemetry-io-otel-sdk,
go-go-opentelemetry-io-otel-sdk-metric, and
go-go-opentelemetry-io-otel-trace.
[native-inputs]: Add go-go-uber-org-goleak.

Change-Id: Ida9f5d87f6c69507a0a7cb88dca1b24e9a512be1
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
f33ca72f00 gnu: Add go-go-opentelemetry-io-otel-metric-x.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel-metric-x): New variable.

Change-Id: I0d16b6f5c1a96c09b9a94e0fd89e13029e108bde
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
3e32fce5aa gnu: go-github-com-files-com-files-sdk-go-v3: Update to 3.3.95.
* gnu/packages/golang-web.scm (go-github-com-files-com-files-sdk-go-v3): Update to 3.3.95.
[propagated-inputs]: Remove go-github-com-bradfitz-iter; add go-golang-org-x-sync.

Relates-to: https://codeberg.org/guix/guix/issues/8118
Change-Id: I2f3975a4e984010ed602a73310c67da9cdddf2e6
2026-04-26 12:59:17 +01:00
Cayetano Santos
e978b77e9b gnu: emacs-calibredb: Update to 2.14.0.
* gnu/packages/emacs-xyz.scm (emacs-calibredb): Update to 2.14.0.
[propagated-inputs]: Add emacs-request.
[arguments]<#:tests?>: Disable.
<#:include>: Add .py files.
<#:phases>: Update ’patch-paths.

Change-Id: Ic0b8bf581fca242ff3e91ce510826e46c189aa18
2026-04-26 12:34:01 +02:00
Nguyễn Gia Phong
3e937950aa gnu: fnc: Indent.
* gnu/packages/version-control.scm (fnc): Indent.

Change-Id: I04a155e6084ee9d6f5b15db62f920c9bf5c6ba53
Merges: https://codeberg.org/guix/guix/pulls/7962
2026-04-26 17:37:16 +09:00
Nguyễn Gia Phong
b22ed7e361 gnu: fnc: Update to 0.19-0.c158d7ac217.
* gnu/packages/version-control.scm (fnc): Update to 0.19-0.c158d7ac217.
  [arguments]<#:make-flags>: Add LDFLAGS for libfossil and sqlite3.
  <#:phases>: Move 'don-t-use-install-s from here...
  [source]: ...to a snippet here together with the unbundling
  of SQLite and libfossil.  Switch to fossil-fetch.
  [inputs]: Add libfossil.  Remove zlib.
  [home-page]: Update to the new URL.

Change-Id: Ib9ee71665b23c363fdfc88ddd9a2380561e16351
Reviewed-by: Thanos Apollo <public@thanosapollo.org>
2026-04-26 17:37:03 +09:00
Nguyễn Gia Phong
f27a394eb7 gnu: libfossil: Dedent.
* gnu/packages/version-control.scm (libfossil): Dedent.

Change-Id: I90ed0a5e1d61ac50b125807b561d7f221284bd84
2026-04-26 17:37:01 +09:00
Nguyễn Gia Phong
a97d78ba76 gnu: libfossil: Update to 0.6.0.
* gnu/packages/patches/libfossil-skip-amalgamation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
* gnu/packages/version-control.scm (libfossil)[source]: Remove patch.
  Update to 0.6.0.

Change-Id: I3e75eea767c582325fa4a6b62d093a40964cfaeb
Reviewed-by: Thanos Apollo <public@thanosapollo.org>
2026-04-26 17:36:21 +09:00
Anderson Torres
229d0cb49f gnu: e3: Update to 2.82.1.
The original upstream website is no longer available.

* gnu/packages/text-editors.scm (e3): Update to 2.82.1.
  [source]: Use git-fetch.
  [arguments]: Use gexps.
  [supported-systems]: Reorder field.
  [home-page]: Update to fork at Museoa.

Change-Id: I908317793035971e84efc67b8970a18594bb3234
Merges: https://codeberg.org/guix/guix/pulls/8117
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-04-26 17:13:32 +09:00
Cayetano Santos
78e603ce22 gnu: emacs-mastodon: Add tests.
* gnu/packages/emacs-xyz.scm (emacs-mastodon)[native-inputs]: Add
emacs-el-mock.
[arguments]<#:test-command>: Add.
<#:tests?>: Delete.
<#:phases>: Indent; add ’skip-failing-tests and ’fix-tests.

Change-Id: Id7f9c07a9d54c7f91dfc498aa4859ddd56c17a40
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-26 07:53:08 +02:00
10 changed files with 1028 additions and 195 deletions

View File

@@ -1699,7 +1699,6 @@ dist_patch_DATA = \
%D%/packages/patches/libcss-check-format.patch \
%D%/packages/patches/libeb-gcc-14.patch \
%D%/packages/patches/libextractor-tidy-support.patch \
%D%/packages/patches/libfossil-skip-amalgamation.patch \
%D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.3.0.patch \

View File

@@ -39910,7 +39910,7 @@ user interfaces for various built-in modes.")
(define-public emacs-calibredb
(package
(name "emacs-calibredb")
(version "2.13.0")
(version "2.14.0")
(source
(origin
(method git-fetch)
@@ -39919,31 +39919,40 @@ user interfaces for various built-in modes.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1a4gyc3gcq18j29pw2i296d70nvx5fbzlw9fdmqwzncciqz5as6m"))))
(base32 "1g0jg6a6fgvxd5bsydckbqwf899d2d9732laz4k1k476mbws5dqy"))))
(build-system emacs-build-system)
(arguments
(list
#:include #~(cons "\\.py$" %default-include)
#:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(make-file-writable "calibredb-core.el")
(let ((calibredb (search-input-file inputs "/bin/calibredb"))
(fetch-ebook-metadata
(search-input-file inputs "/bin/fetch-ebook-metadata"))
(ebook-convert
(search-input-file inputs "/bin/ebook-convert"))
(calibre-debug
(search-input-file inputs "/bin/calibre-debug")))
(search-input-file inputs "/bin/calibre-debug"))
(ebook-meta
(search-input-file inputs "/bin/ebook-meta"))
(folder-program
(string-append #$output
"/share/emacs/site-lisp/calibredb-"
#$version "/calibredb-folder.py")))
(emacs-substitute-variables "calibredb-core.el"
("calibredb-fetch-metadata-program" fetch-ebook-metadata)
("calibredb-program" calibredb)
("calibredb-convert-program" ebook-convert)
("calibredb-debug-program" calibre-debug))))))))
("calibredb-debug-program" calibre-debug)
("calibredb-ebook-meta-program" ebook-meta)
("calibredb-folder-program" folder-program))))))))
(inputs
(list calibre))
(propagated-inputs
(list emacs-dash emacs-esxml emacs-s))
(list emacs-dash emacs-esxml emacs-request emacs-s))
(home-page "https://github.com/chenyanming/calibredb.el")
(synopsis "Yet another calibre client for Emacs")
(description "This package integrates calibre into Emacs.
@@ -41541,8 +41550,9 @@ time.")
(build-system emacs-build-system)
(arguments
(list
#:tests? #f ; requires cask
#:phases #~(modify-phases %standard-phases
#:test-command #~(list "make" "tests")
#:phases
#~(modify-phases %standard-phases
;; Move the source files to the top level, which is
;; included in the EMACSLOADPATH.
(add-after 'unpack 'move-source-files
@@ -41551,7 +41561,54 @@ time.")
(for-each (lambda (f)
(rename-file f
(basename f)))
el-files)))))))
el-files))))
(add-before 'check 'fix-tests
(lambda _
(substitute* "Makefile"
(("cask") ""))
(substitute* "test/ert-helper.el"
(("lisp\\/") ""))))
(add-before 'check 'skip-failing-tests
(lambda _
(let-syntax
((disable-tests
(syntax-rules ()
((_ file ())
(syntax-error "test names list must not be empty"))
((_ file (test-name ...))
(substitute* file
(((string-append
"^\\(ert-deftest " test-name ".*") all)
(string-append all "(skip-unless nil)\n")) ...)))))
(disable-tests
"test/mastodon-profile-tests.el"
("mastodon-profile--add-author-bylines"
"mastodon-profile--make-author-buffer"))
(disable-tests
"test/mastodon-auth-tests.el"
("mastodon-auth--handle-token-response--good"
"mastodon-auth-plstore-token-check"))
(disable-tests
"test/mastodon-client-tests.el"
("mastodon-client--make-user-active"
"mastodon-client--store"
"mastodon-client--store-access-token"))
(disable-tests
"test/mastodon-tl-tests.el"
("mastodon-tl--byline-timestamp-has-relative-display"
"mastodon-tl--next-tab-item--no-spaces-at-ends"
"mastodon-tl--next-tab-item--with-spaces-at-ends"))
(disable-tests
"test/mastodon-media-tests.el"
("mastodon-media--get-avatar-rendering"
"mastodon-media--inline-images"
"mastodon-media--load-image-from-url-avatar-with-imagemagic"
"mastodon-media--load-image-from-url-avatar-without-imagemagic"
"mastodon-media--load-image-from-url-media-link-with-imagemagic"
"mastodon-media--load-image-from-url-media-link-without-imagemagic"
"mastodon-media--load-image-from-url-url-fetching-fails"
"mastodon-media--process-image-response"))))))))
(native-inputs (list emacs-el-mock))
(propagated-inputs
(list emacs-persist emacs-tp))
(home-page "https://codeberg.org/martianh/mastodon.el")

View File

@@ -245,6 +245,55 @@ go-fuzz-headers.")
@end itemize")
(license license:expat)))
(define-public go-github-com-alexkohler-prealloc
(package
(name "go-github-com-alexkohler-prealloc")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alexkohler/prealloc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "011i8yqzyjgwj17k44xvvg4bxfv8z20s0416r2d3yf4s3wqqygpq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alexkohler/prealloc"))
(home-page "https://github.com/alexkohler/prealloc")
(synopsis "Find slice declarations that could be preallocated")
(description
"This package is a Go static analysis tool to find slice declarations
that could potentially be preallocated.")
(license license:expat)))
(define-public go-github-com-alingse-asasalint
(package
(name "go-github-com-alingse-asasalint")
(version "0.0.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alingse/asasalint")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1avz33cx3gcpps26rxijv7ic0njfmsdkbcp2mqg5yxhdcpq57s0q"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alingse/asasalint"))
(propagated-inputs
(list go-golang-org-x-tools))
(home-page "https://github.com/alingse/asasalint")
(synopsis "Lint pass any slice as any in variadic function")
(description
"Golang linter, lint that pass any slice as any in variadic function.")
(license license:expat)))
(define-public go-github-com-andreyvit-diff
(package
(name "go-github-com-andreyvit-diff")

View File

@@ -1600,7 +1600,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(define-public go-github-com-google-go-tpm
(package
(name "go-github-com-google-go-tpm")
(version "0.9.1")
(version "0.9.4")
(source
(origin
(method git-fetch)
@@ -1609,7 +1609,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1c5j5cvwl45ka93nknmv454ivd7kp9n8yql19gr6z01z0s1ph7sg"))))
(base32 "1sp1mbr6vz36zy9w36iksirbsj5p2jslsl8zs1cdj8s4ig4lkd9d"))))
(build-system go-build-system)
(arguments
(list

View File

@@ -456,6 +456,29 @@ penalization.")
FFT (Schonhage-Strassen method for multiplying integers).")
(license license:bsd-3)))
(define-public go-github-com-robinus2-golang-moving-average
(package
(name "go-github-com-robinus2-golang-moving-average")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/RobinUS2/golang-moving-average")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02z3ad29653fz7whxkjjpq820ig9j8m68xj4kay14jyazkr5in1f"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/RobinUS2/golang-moving-average"))
(home-page "https://github.com/RobinUS2/golang-moving-average")
(synopsis "Moving average implementation for Go")
(description
"This package provides a moving average implementation for Go.")
(license license:asl2.0)))
(define-public go-github-com-shopspring-decimal
(package
(name "go-github-com-shopspring-decimal")

View File

@@ -386,19 +386,25 @@ devices.")
;; - cloud.google.com/go/compute/metadata
;; - cloud.google.com/go/iam
;; - cloud.google.com/go/kms
;; - cloud.google.com/go/logging
;; - cloud.google.com/go/longrunning
;; - cloud.google.com/go/monitoring
;; - cloud.google.com/go/security
;; - cloud.google.com/go/spanner
;; - cloud.google.com/go/storage
;; - cloud.google.com/go/trace
(for-each delete-file-recursively
(list "auth"
"compute/metadata"
"iam"
"kms"
"logging"
"longrunning"
"monitoring"
"security"
"storage"))))))
"spanner"
"storage"
"trace"))))))
(build-system go-build-system)
(arguments
(list
@@ -440,7 +446,6 @@ devices.")
"pubsub/v2/internal/scheduler"
"pubsub/v2/internal/testutil"
"rpcreplay"
"spanner/spansql"
"translate")))
(propagated-inputs
(list ;; go-cloud-google-com-go-storage
@@ -695,6 +700,65 @@ Service (KMS) API.")
see: @url{https://cloud.google.com/iam, IAM specification} for more details.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-logging
(package
(name "go-cloud-google-com-go-logging")
(version "1.16.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "logging"))))
(file-name (git-file-name name version))
(sha256
(base32 "14khzbcymknsz4p40ibc8v1zsy33b33yn7fcvkfp4rkzw69wv356"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "logging")))))
(build-system go-build-system)
(arguments
(list
#:import-path "cloud.google.com/go/logging"
#:unpack-path "cloud.google.com/go"))
(native-inputs
;; XXX: Remove when cycle is fixed.
(list go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go
go-cloud-google-com-go-compute-metadata
go-cloud-google-com-go-iam
go-cloud-google-com-go-longrunning
go-cloud-google-com-go-storage
go-github-com-google-go-cmp
go-github-com-googleapis-gax-go-v2
go-go-opencensus-io
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Cloud Logging API")
(description
"Package logging contains a Cloud Logging client suitable for writing
logs. For reading logs, and working with sinks, metrics and monitored
resources, see package cloud.google.com/go/logging/logadmin.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-longrunning
(package
(name "go-cloud-google-com-go-longrunning")
@@ -832,6 +896,78 @@ its service definition.")
"This package provides a Go Client Library for Certificate Authority API.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-spanner
(package
(name "go-cloud-google-com-go-spanner")
(version "1.91.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "spanner"))))
(file-name (git-file-name name version))
(sha256
(base32 "05jgalbqb9n1whlpdkj40rvyk8lg39q5w4l463ycsj2301pmr90h"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "spanner")))))
(build-system go-build-system)
(arguments
(list
#:import-path "cloud.google.com/go/spanner"
#:unpack-path "cloud.google.com/go"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-benchmarks
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "benchmarks")))))))
(native-inputs
(list go-github-com-google-go-cmp
;; XXX: Remove when cycle is fixed.
go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go
go-cloud-google-com-go-iam
go-cloud-google-com-go-longrunning
go-cloud-google-com-go-monitoring
go-github-com-google-uuid
go-github-com-googleapis-gax-go-v2
go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp
go-go-opencensus-io
go-go-opentelemetry-io-contrib-detectors-gcp
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-golang-org-x-sync
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Cloud Spanner databases Go client")
(description
"Package spanner provides a client for reading and writing to Cloud
Spanner databases. See
@url{https://cloud.google.com/spanner/docs/getting-started/go/} for an
introduction to Cloud Spanner and additional help on using this API.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-storage
(package
(name "go-cloud-google-com-go-storage")
@@ -897,6 +1033,59 @@ Google Cloud Storage stores data in named objects, which are grouped into
buckets.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-trace
(package
(name "go-cloud-google-com-go-trace")
(version "1.14.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "trace"))))
(file-name (git-file-name name version))
(sha256
(base32 "14khzbcymknsz4p40ibc8v1zsy33b33yn7fcvkfp4rkzw69wv356"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "trace")))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "cloud.google.com/go/trace"
#:unpack-path "cloud.google.com/go"))
(propagated-inputs
(list go-github-com-googleapis-gax-go-v2
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Go Client Library for Cloud Trace API")
(description
"This package implements the @url{https://cloud.google.com/stackdriver,
Stackdriver} Trace API in Golang. Stackdriver Trace is a distributed tracing
system that collects latency data from your applications and displays it in
the Google Cloud Platform Console.
It sends application trace data to Stackdriver Trace for viewing. Trace data
is collected for all App Engine applications by default. Trace data from
other applications can be provided using this API. This library is used to
interact with the Trace API directly.")
(license license:asl2.0)))
(define-public go-code-gitea-io-sdk-gitea
(package
(name "go-code-gitea-io-sdk-gitea")
@@ -1406,6 +1595,39 @@ AWS Lambda and API Gateway or ALB without changing the existing HTTP
handlers.")
(license license:asl2.0)))
(define-public go-github-com-akutz-memconn
(package
(name "go-github-com-akutz-memconn")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/akutz/memconn")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1mhghzcx2zxr4bpyf4wx3j7ph9srw38wxg78svwbjh930r2kzssq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/akutz/memconn"
#:test-flags
#~(list "-skip" (string-join
;; Tests fail with insecure algorithm
(list "TestTLS_Memu"
"TestTLS_Memb"
"TestTLS_TCP"
"TestTLS_UNIX"
"TestTLS_HTTP_Memu"
"TestTLS_HTTP_Memb")
"|"))))
(home-page "https://github.com/akutz/memconn")
(synopsis "In-memory network stack for Go")
(description
"This package provides named, in-memory network connections for Go.")
(license license:asl2.0)))
(define-public go-github-com-alexliesenfeld-health
(package
(name "go-github-com-alexliesenfeld-health")
@@ -3595,6 +3817,33 @@ differentiate between installs of Mozilla software in @code{installs.ini} and
"TestStructToDateTime")
"|"))))))
(define-public go-github-com-brunoscheufler-aws-ecs-metadata-go
(package
(name "go-github-com-brunoscheufler-aws-ecs-metadata-go")
(version "0.0.0-20221221133751-67e37ae746cd")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/BrunoScheufler/aws-ecs-metadata-go")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x9kn49sl6793zqq4nrbsyfhqh7i3xr25syck2ybpcqkd3mmb8k6"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/brunoscheufler/aws-ecs-metadata-go"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/brunoscheufler/aws-ecs-metadata-go")
(synopsis "Retrieve AWS ECS Task metadata")
(description
"This package provides a minimal wrapper library to fetch
@acronym{Elastic Container Service, ECS} Task metadata from any Go service
running in container provisioned by AWS Fargate.")
(license license:expat)))
(define-public go-github-com-buger-jsonparser
(package
(name "go-github-com-buger-jsonparser")
@@ -6166,7 +6415,7 @@ application's http.Handlers.")
(define-public go-github-com-files-com-files-sdk-go-v3
(package
(name "go-github-com-files-com-files-sdk-go-v3")
(version "3.3.7")
(version "3.3.95")
(source
(origin
(method git-fetch)
@@ -6175,7 +6424,7 @@ application's http.Handlers.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1syx75vbamwrx5x5glf4542ml8myj9kqqkig8hmy97lhzq4d4n7a"))))
(base32 "19mxsybv9lyq57nf5xvll41g7f6z90lq9hrdx1p4w20mj0f51wyj"))))
(build-system go-build-system)
(arguments
(list
@@ -6191,7 +6440,6 @@ application's http.Handlers.")
go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-appscode-go-querystring
go-github-com-bradfitz-iter
go-github-com-chilts-sid
go-github-com-dustin-go-humanize
go-github-com-hashicorp-go-retryablehttp
@@ -6201,6 +6449,7 @@ application's http.Handlers.")
go-github-com-sabhiram-go-gitignore
go-github-com-samber-lo
go-github-com-winfsp-cgofuse
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-text
go-moul-io-http2curl-v2))
@@ -8245,6 +8494,51 @@ Terraform by using the enterprise certificates feature.")
for clients and servers based on @code{gRPC} and Google API conventions.")
(license license:bsd-3)))
(define-public go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp
(package
(name "go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp")
(version "1.6.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/grpc-gcp-go")
(commit (go-version->git-ref version #:subdir "grpcgcp"))))
(file-name (git-file-name name version))
(sha256
(base32 "0p7zwbi6gg99mzi7albscf7jn63qxs714h6vars735an13bbvl12"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp"
#:unpack-path "github.com/GoogleCloudPlatform/grpc-gcp-go"
;; gcp_multiendpoint_test.go:441: endpoint wanted "localhost:50051", got
;; "127.0.0.3:50051"
#:test-flags #~(list "-skip" "TestGCPMultiEndpoint")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; See: <https://go.dev/blog/synctest>.
(setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-golang-mock
go-github-com-google-go-cmp))
(propagated-inputs
(list go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk-metric
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/grpc-gcp-go")
(synopsis "Grpc supports for Google Cloud APIs")
(description
"Package grpcgcp provides gRPC supports for Google Cloud APIs. For now
it provides connection management with affinity support.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp
(package
(name
@@ -8334,6 +8628,110 @@ testing of the detection functions in real GCP environments.")
send collected metrics to Google Cloud.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace")
(version "1.32.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(commit (go-version->git-ref version #:subdir "exporter/trace"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nizaaydcvvi718g5v4pgx8in6d546mmkrf7h3sxhz2yyyygvms3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "exporter" "trace")
(delete-all-but "." "exporter")))))
(build-system go-build-system)
(arguments
(list
#:import-path
(string-append "github.com/GoogleCloudPlatform/"
"opentelemetry-operations-go/exporter/trace")
#:unpack-path
"github.com/GoogleCloudPlatform/opentelemetry-operations-go"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-cloud-google-com-go-trace
go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock
go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-google-golang-org-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(synopsis "OpenTelemetry Google Cloud Trace Exporter")
(description
"@code{OpenTelemetry} Google Cloud Trace Exporter allows the user to send
collected traces and spans to Google Cloud.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock")
(version "0.56.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(commit (go-version->git-ref version
#:subdir "internal/cloudmock"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nizaaydcvvi718g5v4pgx8in6d546mmkrf7h3sxhz2yyyygvms3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "internal" "cloudmock")
(delete-all-but "." "internal")))))
(build-system go-build-system)
(arguments
(list
#:import-path
(string-append "github.com/GoogleCloudPlatform/"
"opentelemetry-operations-go/internal/cloudmock")
#:unpack-path
"github.com/GoogleCloudPlatform/opentelemetry-operations-go"))
(propagated-inputs
(list go-cloud-google-com-go-logging
go-cloud-google-com-go-monitoring
go-cloud-google-com-go-trace
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(synopsis "OpenTelemetry Google Cloud mock library")
;; XXX: There is not any documentation for this package upstrream.
(description
"This package provides OpenTelemetry Google Cloud mock Go library.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping")
@@ -16233,6 +16631,7 @@ and consumers to transparently record signed metadata to a ledger.")
#:test-subdirs
#~(list "internal/algorithmregistry"
"internal/safeint"
"pkg/client/read"
"pkg/client/write"
"pkg/types/dsse"
"pkg/types/hashedrekord"
@@ -16247,7 +16646,8 @@ and consumers to transparently record signed metadata to a ledger.")
go-github-com-stretchr-testify
go-sigs-k8s-io-release-utils))
(propagated-inputs
(list go-cloud-google-com-go-storage
(list go-cloud-google-com-go-spanner
go-cloud-google-com-go-storage
go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-credentials
@@ -16264,12 +16664,14 @@ and consumers to transparently record signed metadata to a ledger.")
go-github-com-sigstore-sigstore
;; go-github-com-sigstore-sigstore-go ;cycles
go-github-com-sigstore-sigstore-pkg-signature-kms-aws
go-github-com-chainguard-dev-clog
go-github-com-sigstore-sigstore-pkg-signature-kms-gcp
go-github-com-tink-crypto-tink-go-awskms-v2
go-github-com-tink-crypto-tink-go-gcpkms-v2
go-github-com-tink-crypto-tink-go-v2
go-github-com-transparency-dev-formats
go-github-com-transparency-dev-merkle
go-github-com-transparency-dev-tessera
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-prometheus
go-go-opentelemetry-io-otel-sdk-metric
@@ -16283,9 +16685,6 @@ and consumers to transparently record signed metadata to a ledger.")
go-k8s-io-klog-v2
;; TODO: Complete packaging.
;; go-cloud-google-com-go-spanner
;; go-github-com-chainguard-dev-clog
;; go-github-com-transparency-dev-tessera
#;go-go-step-sm-crypto))
(home-page "https://github.com/sigstore/rekor-tiles")
(synopsis "Tile-based transparency log for Sigstore")
@@ -17917,7 +18316,95 @@ caching protocol. It provides support to programmatically store and retrieve
build caches, instead of relying on the standard actions/cache YAML step.")
(license license:expat)))
(define-public go-github-com-transparency-dev-tessera
(package
(name "go-github-com-transparency-dev-tessera")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/transparency-dev/tessera")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "101y83j67g7r1bqk49qj8mwxgys88wkxz5lf7pvjp4c6b10w5gck"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/transparency-dev/tessera"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-access-to-state-tree-state
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(make-file-writable "testdata/log/.state/treeState.lock"))))
(add-after 'check 'remove-testdata
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "testdata")))))))
(native-inputs
(list strace
;; XXX: Remove when cycle is fixed.
go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go-spanner
go-cloud-google-com-go-storage
go-github-com-avast-retry-go-v4
go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-credentials
go-github-com-aws-aws-sdk-go-v2-service-s3
go-github-com-aws-smithy-go
go-github-com-bitfield-script
go-github-com-cenkalti-backoff-v5
go-github-com-charmbracelet-bubbletea
go-github-com-charmbracelet-lipgloss
go-github-com-dgraph-io-badger-v4
go-github-com-dustin-go-humanize
go-github-com-gdamore-tcell-v2
go-github-com-go-sql-driver-mysql
go-github-com-google-go-cmp
go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-metric
go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace
go-github-com-hashicorp-golang-lru-v2
go-github-com-muesli-termenv
go-github-com-rivo-tview
go-github-com-robinus2-golang-moving-average
go-github-com-transparency-dev-formats
go-github-com-transparency-dev-merkle
go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2
go-go-opentelemetry-io-contrib-detectors-aws-ecs
go-go-opentelemetry-io-contrib-detectors-gcp
go-go-opentelemetry-io-contrib-propagators-aws
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-otlp-otlpmetric-otlpmetricgrpc
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-golang-org-x-crypto
go-golang-org-x-exp
go-golang-org-x-mod
go-golang-org-x-net
go-golang-org-x-sync
go-golang-org-x-time
go-google-golang-org-api
go-google-golang-org-grpc
go-k8s-io-klog-v2))
(home-page "https://github.com/transparency-dev/tessera")
(synopsis "Go library for building tile-based transparency logs (tlogs)")
(description
"Tessera is a Go library for building tile-based transparency logs (tlogs).
It is the logical successor to the approach
@url{https://github.com/google/trillian, Trillian v1} takes in building and
operating logs. The implementation and its APIs bake-in current
best-practices based on the lessons learned over the past decade of building
and operating transparency logs in production environments and at scale.")
(license license:asl2.0)))
(define-public go-github-com-tv42-httpunix
(let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
(revision "0"))
(package
@@ -19686,6 +20173,101 @@ lists)
"Package sdk provides an auto-instrumentable @code{OpenTelemetry} SDK.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2
(package
(name "go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2")
(version "2.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go-contrib")
(commit (go-version->git-ref version
#:subdir "detectors/aws/ec2"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nh7g1zxr3drqcbhsnnkqaz2hn1rnawg8jalixng23c9hwfgqaly"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "detectors/aws" "ec2")
(delete-all-but "detectors" "aws")
(delete-all-but "." "detectors")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/contrib/detectors/aws/ec2/v2"
#:unpack-path "go.opentelemetry.io/contrib"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-feature-ec2-imds
go-github-com-aws-smithy-go
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk))
(home-page "https://github.com/open-telemetry/opentelemetry-go-contrib")
(synopsis "Resource detector for EC2 instances")
(description
"Package ec2 provides a resource detector for @acronym{Amazon Elastic
Compute Cloud, EC2} instances using @code{aws-sdk-go-v2}.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-aws-ecs
(package
(name "go-go-opentelemetry-io-contrib-detectors-aws-ecs")
(version "1.43.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go-contrib")
(commit (go-version->git-ref version
#:subdir "detectors/aws/ecs"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nh7g1zxr3drqcbhsnnkqaz2hn1rnawg8jalixng23c9hwfgqaly"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "detectors/aws" "ecs")
(delete-all-but "detectors" "aws")
(delete-all-but "." "detectors")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/contrib/detectors/aws/ecs"
#:unpack-path "go.opentelemetry.io/contrib"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-brunoscheufler-aws-ecs-metadata-go
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk))
(home-page "https://go.opentelemetry.io/contrib")
(synopsis "OTLP resource detector for AWS ECS instances")
(description
"Package ecs provides a resource detector for AWS @acronym{Elastic
Container Service, ECS} instances.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-gcp
(package
(name "go-go-opentelemetry-io-contrib-detectors-gcp")
@@ -20289,7 +20871,7 @@ protobuf payloads.")
(define-public go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
(package
(name "go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc")
(version "1.36.0")
(version "1.43.0")
(source
(origin
(method git-fetch)
@@ -20299,15 +20881,12 @@ protobuf payloads.")
#:subdir "exporters/otlp/otlptrace/otlptracegrpc"))))
(file-name (git-file-name name version))
(sha256
(base32 "1kvfbqc56p1h9rh9cvgn37ya6k10613r0f2rhjiwrrkgs2mszk30"))
(base32 "0583dw99k25k07pnq8hhhb45kwqhsx30lbk9yxsh4m50ji65wl8h"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
@@ -20315,23 +20894,27 @@ protobuf payloads.")
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "exporters/otlp/otlptrace" "otlptracegrpc")
(delete-all-but "exporters/otlp" "otlptrace")
(delete-all-but "." "exporters")))))
(build-system go-build-system)
(arguments
(list
;; TODO: Enable when all missing inputs are available, use as source
;; only package for Boxo.
#:skip-build? #t
#:tests? #f
#:import-path
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
#:unpack-path "go.opentelemetry.io/otel"))
(native-inputs
(list go-github-com-stretchr-testify))
(list go-github-com-stretchr-testify
go-go-uber-org-goleak))
(propagated-inputs
(list go-github-com-cenkalti-backoff-v5
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-metric-x
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-go-opentelemetry-io-otel-trace
go-go-opentelemetry-io-proto-otlp
go-go-uber-org-goleak
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
@@ -20646,6 +21229,50 @@ logging library. Instead, install one of the bridges listed in the
"Package metric provides an implementation of the metric part of the
OpenTelemetry API.")))
(define-public go-go-opentelemetry-io-otel-metric-x
(package
(name "go-go-opentelemetry-io-otel-metric-x")
(version "0.0.0-20260424084752-468c62dac625")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go")
(commit (go-version->git-ref version #:subdir "metric/x"))))
(file-name (git-file-name name version))
(sha256
(base32 "16x0aw116dadi73vzh8bcwasy79sblvh6k1q7yfx8n841x48ry8r"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "metric" "x")
(delete-all-but "." "metric")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/otel/metric/x"
#:unpack-path "go.opentelemetry.io/otel"))
(propagated-inputs
(list go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-trace))
(home-page "https://github.com/open-telemetry/opentelemetry-go")
(synopsis "Experimental Metric Options")
(description
"This package contains experimental options for the OpenTelemetry metric
package. These options are currently under development and not part of the
stable API. They may be changed in backwards-incompatible ways, or removed
entirely.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-otel-sdk
(package
(name "go-go-opentelemetry-io-otel-sdk")

View File

@@ -525,6 +525,35 @@ file along with an index.html file.")
"Package tcell provides a gruid Driver for making terminal apps.")
(license license:isc)))
(define-public go-codeberg-org-chavacava-garif
(package
(name "go-codeberg-org-chavacava-garif")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/chavacava/garif.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0cz037yb9gnk9fd61pni6m0n9cbrwmlxxija5vm91mplyxlih05h"))))
(build-system go-build-system)
(arguments
(list
#:import-path "codeberg.org/chavacava/garif"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://codeberg.org/chavacava/garif")
(synopsis "Create and manipulate SARIF logs")
(description
"This package defines all the Go structures required to model a log file.
SARIF, from Static Analysis Results Interchange Format, is a standard
JSON-based format for the output of static analysis tools defined and promoted
by @url{https://www.oasis-open.org/, OASIS}.")
(license license:expat)))
(define-public go-codeberg-org-emersion-go-scfg
(package
(name "go-codeberg-org-emersion-go-scfg")
@@ -613,6 +642,33 @@ recursively any exported one. It also won't merge structs inside
maps (because they are not addressable using Go reflection).")
(license license:bsd-3)))
(define-public go-fyne-io-systray
(package
(name "go-fyne-io-systray")
(version "1.11.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fyne-io/systray")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0yrd4f3n8wrqcqradmqq9w0b31hd5hali876xkynfhm3nhaz4j1i"))))
(build-system go-build-system)
(arguments
(list
#:import-path "fyne.io/systray"))
(propagated-inputs
(list go-github-com-godbus-dbus-v5
go-golang-org-x-sys))
(home-page "https://fyne.io/systray/")
(synopsis "Place an icon and menu in the notification area")
(description
"This package is a cross-platform Go library to place an icon and menu in
the notification area.")
(license license:asl2.0)))
(define-public go-git-sr-ht-rjarry-go-opt
(package
(name "go-git-sr-ht-rjarry-go-opt")
@@ -2981,6 +3037,38 @@ input from the terminal while not echoing the input back (similar to
and is therefore compatible with cross-compiling.")
(license license:expat)))
(define-public go-github-com-bitfield-script
(package
(name "go-github-com-bitfield-script")
(version "0.24.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bitfield/script")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pzmz7n39sh9sprclzd0m0l0flf626286fh51m065yjhkqzrjw89"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/bitfield/script"
#:test-flags #~(list "-vet=off")))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-github-com-itchyny-gojq
go-github-com-rogpeppe-go-internal
go-mvdan-cc-sh-v3))
(home-page "https://github.com/bitfield/script")
(synopsis "Making it easy to write shell-like scripts in Go")
(description
"Package script aims to make it easy to write shell-type scripts in Go,
for general system administration purposes: reading files, counting lines,
matching strings, and so on.")
(license license:expat)))
(define-public go-github-com-bitly-go-hostpool
(package
(name "go-github-com-bitly-go-hostpool")
@@ -4433,6 +4521,34 @@ over strings.")
@code{https://en.wikipedia.org/wiki/WebP, WebP} images.")
(license license:bsd-3)))
(define-public go-github-com-chainguard-dev-clog
(package
(name "go-github-com-chainguard-dev-clog")
(version "1.8.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/chainguard-dev/clog")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0b95vw8czs2r9lscyi85vppbyqj672zm6z2n9siy1s9yv6fkys62"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/chainguard-dev/clog"))
(home-page "https://github.com/chainguard-dev/clog")
(synopsis "Context aware slog")
(description
"This package provides a context-aware Go std lib
@url{https://pkg.go.dev/log/slog, @code{slog}}. The context Logger can be
used to use Loggers from the context. This is sometimes preferred over the
@url{https://github.com/chainguard-dev/clog#context-handler, Context Handler},
since this can make it easier to use different loggers in different
contexts (e.g. testing).")
(license license:asl2.0)))
(define-public go-github-com-charlievieth-fastwalk
(package
(name "go-github-com-charlievieth-fastwalk")
@@ -30438,8 +30554,8 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
;; to build NNCP and remove vendor) dependency for Golang. Full build depends
;; on Bazel <https://bazel.build/>.
(define-public go-gvisor-dev-gvisor
(let ((commit "634ce95eed8d5b8e6b3e2ea30542c34cb30af148")
(revision "0"))
(let ((commit "9414b50a5633100fd7299a5a7998742575dcb669")
(revision "1"))
(package
(name "go-gvisor-dev-gvisor")
(version (git-version "0.0.0" revision commit))
@@ -30451,7 +30567,7 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1l3si6qlchwgsvaq6lxyvj8iq8n8pqxlayb1hbdf3pynxi52hfkw"))))
(base32 "0vqaclb2ignkcs7n463bj349m0xybdsv71i6afhzh8r05hdywzax"))))
(build-system go-build-system)
(arguments
(list

View File

@@ -1,43 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -265,15 +265,11 @@
amal.flags = -nc
amal.run = TOPDIR="$(DIR.top)" $(SHELL.bash) $(bin.make-amal) --quiet
libfossil.c: $(amal.deps)
$(amal.run) $(amal.flags)
-libfossil.h: libfossil.c
-all: libfossil.c
@if ENABLE_CXX
-libfossil.hpp: libfossil.c
-libfossil.c++: libfossil.c
amal.flags += -c++
@endif
.PHONY: amal
amal: libfossil.c
@@ -287,19 +283,16 @@
fossil uv sync
@endif
@endif
install: install-headers
-install-headers: libfossil.h $(install-dir.include)
- $(INSTALL.noexec) libfossil.h $(install-dir.include)
+install-headers: include/libfossil.h $(install-dir.include)
+ $(INSTALL.noexec) $< $(install-dir.include)
@if ENABLE_CXX
-libfossil++.hpp: libfossil.h
-libfossil++.cpp: libfossil++.hpp
-all: libfossil++.cpp
install-headers: install-headers++
-install-headers++: libfossil++.hpp $(install-dir.include)
- $(INSTALL.noexec) libfossil++.hpp $(install-dir.include)
+install-headers++: include/libfossil.hpp $(install-dir.include)
+ $(INSTALL.noexec) $< $(install-dir.include)
@endif # ENABLE_CXX
clean: clean-amalgamation
clean-amalgamation:
rm -f libfossil.c libfossil.h libfossil++.cpp libfossil++.hpp
rm -f libfossil-config.h libfossil-amalgamation.zip VERSION.h

View File

@@ -875,30 +875,29 @@ compiled, requires few libraries, and starts up quickly.")
(define-public e3
(package
(name "e3")
(version "2.82")
(source (origin
(method url-fetch)
(uri (string-append "https://sites.google.com/site/e3editor/Home/"
"e3-" version ".tgz"))
(version "2.82.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/museoa/e3editor")
(commit version)))
(sha256
(base32
"0919kadkas020maqq37852isnzp053q2fnws2zh3mz81d1jiviak"))
(modules '((guix build utils)))
;; Remove pre-built binaries.
(snippet '(begin
(delete-file-recursively "bin")
#t))))
"1l57rxin3kv6iiw91rhjzl3bpk0gkfp3nrx7wmqikk1nycmkfbhm"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(list
#:tests? #f
#:make-flags
#~(list (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(native-inputs
(list nasm))
(home-page "https://sites.google.com/site/e3editor/")
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://codeberg.org/museoa/e3editor")
(synopsis "Tiny text editor written in assembly")
(description
"e3 is a micro text editor with an executable code size between 3800 and
@@ -907,7 +906,6 @@ of the basic functions one expects plus built in arithmetic calculations.
UTF-8 coding of unicode characters is supported as well. e3 can use
Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on
16, 32, and 64-bit CPUs.")
(supported-systems '("x86_64-linux" "i686-linux"))
(license license:gpl2+)))
(define-public mg

View File

@@ -3522,21 +3522,18 @@ modification time.")
(license license:bsd-2)))
(define-public libfossil
(let ((ci "914ed6dcaff13bf7209c9f27ccfb77c2d8fdf36b8d2133aa1590258b0708f035")
(revision "0"))
(package
(name "libfossil")
(version (fossil-version "0.6.0" revision ci))
(version "0.6.0")
(source
(origin
(method fossil-fetch)
(uri (fossil-reference
(uri "https://fossil.wanderinghorse.net/r/libfossil")
(check-in ci)))
(check-in version)))
(file-name (fossil-file-name name version))
(sha256
(base32 "0a0ycnnba2izmiqjj8hgvjgjdwhpn0x36lhy3vmw4j7bhny0df52"))
(patches (search-patches "libfossil-skip-amalgamation.patch"))
(base32 "0haaczpjnjpkiikf0q70nfabm2csdk6dl9rh80j0sh90wfvkyqwm"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
@@ -3587,41 +3584,51 @@ modification time.")
"@code{libfossil} is an alternative interface into Fossil repositories,
as opposed to a replacement for the core fossil application,
intended for new ways to access and manipulate fossil repositories.")
(license license:bsd-2))))
(license license:bsd-2)))
(define-public fnc
(let ((check-in
"c158d7ac2175078b4b783157be92de38aa627dc1a237febab9ec92093420cedb")
(revision "0"))
(package
(name "fnc")
(version "0.18")
(source (origin
(method url-fetch)
(uri
(string-append "https://fnc.bsdbox.org/uv/dl/fnc-"
version ".tar.gz"))
(version (fossil-version "0.19" revision check-in))
(source
(origin
(method fossil-fetch)
(uri (fossil-reference
(uri "https://fnc.sh")
(check-in check-in)))
(file-name (fossil-file-name name version))
(sha256
(base32
"1067rr4nqngld1nqa8c7imp9n3w5fp7rpc7khh6l84q2w1klrya9"))))
(base32 "09m0bgzy0yjglsgrqq03sdq4p2rwi3y8m84979j066z1c5b444iz"))
(modules '((guix build utils)))
(snippet #~(begin
(delete-file-recursively "lib")
(substitute* (find-files "." "\\.c$")
(("^#include \"libfossil.h\"")
"#include <fossil-scm/libfossil.h>"))
(substitute* "fnc.bld.mk"
((" \\$\\{SQLITE_OBJS\\} \\$\\{FOSSIL_OBJS\\}") "")
(("-lm -lutil -lz ") "")
;; Fix cross-compiling.
(("install -s") "install"))))))
(build-system gnu-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(delete 'configure)
;; fix cross-compiling.
(add-after 'unpack 'don-t-use-install-s
(lambda _
(substitute* "fnc.bld.mk"
(("install -s")
"install")))))
#:tests? #f ; no tests
(delete 'configure))
#:tests? #f ;no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
"LDFLAGS=-lfossil -lsqlite3"
(string-append "PREFIX=" #$output))))
(inputs (list ncurses zlib sqlite-next))
(home-page "https://fnc.bsdbox.org")
(inputs (list libfossil ncurses sqlite-next))
(home-page "https://fnc.sh")
(synopsis "Interactive text-based user interface for Fossil")
(description "fnc uses ncurses and libfossil to create a fossil user
interface in the terminal. It can view local changes at the hunk level to
prepare atomic commits.")
(license license:isc)))
(license license:isc))))
(define-public myrepos
(package