[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: Add go-github-com-docker-distribution.
From: |
Ludovic Courtès |
Subject: |
12/12: gnu: Add go-github-com-docker-distribution. |
Date: |
Sat, 7 Jul 2018 12:10:48 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e282611820391b60c785dc951435735579c9689d
Author: Rouby Pierre-Antoine <address@hidden>
Date: Tue Jun 19 10:43:33 2018 +0200
gnu: Add go-github-com-docker-distribution.
* gnu/packages/golang.scm (go-github-com-docker-distribution): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/golang.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3640d76..21783f2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1793,3 +1793,50 @@ finding resources located relative to the executable
file.")
run programs as a service using a variety of supervisors, including systemd,
SysVinit, and more.")
(license license:zlib))))
+
+(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))
+ (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)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yg2zrikn3vkvkx5mn51p6bfjk840qdkn7ahhhvvcsc8mpigrjc6"))))
+ (build-system go-build-system)
+ (native-inputs
+ `(("go-golang-org-x-sys-unix"
+ ,go-golang-org-x-sys-unix)
+ ("go-github-com-sirupsen-logrus"
+ ,go-github-com-sirupsen-logrus)
+ ("go-golang-org-x-crypto-ssh-terminal"
+ ,go-golang-org-x-crypto-ssh-terminal)))
+ (arguments
+ '(#:import-path "github.com/docker/distribution"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
+ (lambda* (#:key outputs #:allow-other-keys)
+ (map (lambda (file)
+ (make-file-writable file))
+ (find-files
+ (assoc-ref outputs "out")
+ ".*\\.gz$"))
+ #t)))))
+ (home-page
+ "https://github.com/docker/distribution")
+ (synopsis "This package is Docker toolset to pack, ship, store, and
+deliver content")
+ (description "Docker Distribution is Docker toolset to pack, ship,
+store, and deliver content. It's containe Docker Registry 2.0 and libraries
+to interacting with distribution components.")
+ (license license:asl2.0))))
- 06/12: gnu: Electrum: Update to 3.2.2., (continued)
- 06/12: gnu: Electrum: Update to 3.2.2., Ludovic Courtès, 2018/07/07
- 02/12: gnu: Update stellarium to 0.18.1., Ludovic Courtès, 2018/07/07
- 05/12: ui: Add -V as short option for --version., Ludovic Courtès, 2018/07/07
- 01/12: gnu: guile-git: Update to 0.1.0., Ludovic Courtès, 2018/07/07
- 07/12: gnu: emacs-git-timemachine: Update URL., Ludovic Courtès, 2018/07/07
- 11/12: gnu: Add docx2txt., Ludovic Courtès, 2018/07/07
- 04/12: scripts: Add missing -V option to commands that document it., Ludovic Courtès, 2018/07/07
- 09/12: gnu: re2c: Update to 1.0.3., Ludovic Courtès, 2018/07/07
- 10/12: gnu: Add emacs-org-brain., Ludovic Courtès, 2018/07/07
- 08/12: gnu: emacs-git-timemachine: Update to 4.5., Ludovic Courtès, 2018/07/07
- 12/12: gnu: Add go-github-com-docker-distribution.,
Ludovic Courtès <=