diff options
author | Sharlatan Hellseher <[email protected]> | 2025-01-08 20:36:41 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2025-01-21 23:47:45 +0000 |
commit | fcc03256f1d1f08306b183dbf52303a44adb3e9f (patch) | |
tree | 86c54e1a1180e6a6200f9dff19f3c5e675e761ab /gnu/packages/golang-xyz.scm | |
parent | dda8158e7cc6385a1d14ec6756dcecfa4c278765 (diff) |
gnu: go-github-com-docker-distribution: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-docker-distribution): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I1da803bef6e02969b606a47e6b8058df1a0d04ae
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ffc8e9acce..d398dd1e0e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4104,6 +4104,49 @@ GNU extensions to the POSIX recommendations for command-line options}. This is an activly maintained fork of @url{https://github.com/ogier/pflag}.") (license license:bsd-3))) +(define-public go-github-com-docker-distribution + (package + (name "go-github-com-docker-distribution") + (version "2.8.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/docker/distribution") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "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) + (arguments + (list + #:import-path "github.com/docker/distribution" + #:test-flags #~(list "-test.short") + #:test-subdirs + #~(list "configuration" + "context" + "health" + "manifest/..." + "notifications/..." + "uuid"))) + (native-inputs + (list go-github-com-sirupsen-logrus + go-golang-org-x-crypto + go-golang-org-x-sys)) + (home-page "https://github.com/docker/distribution") + (synopsis + "This package is a Docker toolset to pack, ship, store, and 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))) + (define-public go-github-com-docker-go-units (package (name "go-github-com-docker-go-units") |