diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-08 20:25:19 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:47:45 +0000 |
| commit | dda8158e7cc6385a1d14ec6756dcecfa4c278765 (patch) | |
| tree | fc32dada12a6b06076be7753094a7e969924be1b /gnu/packages | |
| parent | 5dd90d4e84fbb3e449abbd096b3fbb6c70abe0a1 (diff) | |
gnu: go-github-com-docker-distribution: Update to 2.8.3.
* gnu/packages/golang.scm (go-github-com-docker-distribution): Update to 2.8.3.
[source] <snippets>: Delete bundeled packages from "vendor/golang.org"
as they are availalbe in Guix.
[arguments] <test-flags>: Run short tests.
<tests-subdir>: Run some not expencive tests.
Change-Id: I47977f10ea80295b3676ba9ad4847b99fc1a6e67
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/golang.scm | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ed01ecd70d2..1e320b01d94 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2309,29 +2309,39 @@ finding resources located relative to the executable file.") (license license:bsd-3)))) (define-public go-github-com-docker-distribution - (let ((commit "325b0804fef3a66309d962357aac3c2ce3f4d329") - (revision "0")) (package (name "go-github-com-docker-distribution") - (version (git-version "0.0.0" revision commit)) + (version "2.8.3") (source - ;; FIXME: This bundles many things, see - ;; <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31881#41>. (origin (method git-fetch) (uri (git-reference (url "https://github.com/docker/distribution") - (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6")))) + "0dbaxmkhg53anhkzngyzlxm2bd4dwv0sv75zip1rkm0874wjbxzb")) + (snippet + ;; TODO: Unbundle more. + #~(begin (use-modules (guix build utils)) + (for-each delete-file-recursively + (list "vendor/golang.org")))))) (build-system go-build-system) (native-inputs (list go-golang-org-x-sys go-github-com-sirupsen-logrus go-golang-org-x-crypto)) (arguments - '(#:import-path "github.com/docker/distribution")) + (list + #:import-path "github.com/docker/distribution" + #:test-flags #~(list "-test.short") + #:test-subdirs + #~(list "configuration" + "context" + "health" + "manifest/..." + "notifications/..." + "uuid"))) (home-page "https://github.com/docker/distribution") (synopsis "This package is a Docker toolset to pack, ship, store, and @@ -2339,7 +2349,7 @@ deliver content") (description "Docker Distribution is a Docker toolset to pack, ship, store, and deliver content. It contains Docker Registry 2.0 and libraries to interact with distribution components.") - (license license:asl2.0)))) + (license license:asl2.0))) (define-public go-github-com-aarzilli-golua (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d") |
