From: Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
To: leo@famulari.name
Cc: 31881@debbugs.gnu.org,
Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr>
Subject: [bug#31881] [PATCH 4/4] gnu: Add go-github-com-docker-distribution.
Date: Tue, 19 Jun 2018 10:43:33 +0200 [thread overview]
Message-ID: <20180619084333.8993-4-pierre-antoine.rouby@inria.fr> (raw)
In-Reply-To: <20180619084333.8993-1-pierre-antoine.rouby@inria.fr>
* gnu/packages/golang.scm (go-github-com-docker-distribution): New variable.
---
gnu/packages/golang.scm | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index be7b0d3f3..89476411b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1795,3 +1795,48 @@ the standard library logger.")
"Golang kardinos service is golang library to run go program as a
service.")
(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
+ (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))))
--
2.17.0
next prev parent reply other threads:[~2018-06-19 8:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 15:15 [bug#31881] [PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus Rouby Pierre-Antoine
2018-06-18 15:18 ` [bug#31881] [PATCH 2/4] gnu: Add go-github-com-kardianos-osext Rouby Pierre-Antoine
2018-06-18 15:18 ` [bug#31881] [PATCH 3/4] gnu: Add go-github-com-ayufan-golang-kardianos-service Rouby Pierre-Antoine
2018-06-18 15:18 ` [bug#31881] [PATCH 4/4] gnu: Add go-github-com-docker-distribution Rouby Pierre-Antoine
2018-06-18 16:12 ` [bug#31881] [PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus Leo Famulari
2018-06-19 8:43 ` Rouby Pierre-Antoine
2018-06-19 8:43 ` [bug#31881] [PATCH 2/4] gnu: Add go-github-com-kardianos-osext Rouby Pierre-Antoine
2018-06-20 16:56 ` Leo Famulari
2018-06-19 8:43 ` [bug#31881] [PATCH 3/4] gnu: Add go-github-com-ayufan-golang-kardianos-service Rouby Pierre-Antoine
2018-06-20 16:57 ` Leo Famulari
2018-06-19 8:43 ` Rouby Pierre-Antoine [this message]
2018-06-20 17:00 ` [bug#31881] [PATCH 4/4] gnu: Add go-github-com-docker-distribution Leo Famulari
2018-06-26 15:20 ` Pierre-Antoine Rouby
2018-07-07 16:08 ` bug#31881: " Ludovic Courtès
2018-06-20 16:56 ` [bug#31881] [PATCH 1/4] gnu: Add go-github-com-sirupsen-logrus Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619084333.8993-4-pierre-antoine.rouby@inria.fr \
--to=pierre-antoine.rouby@inria.fr \
--cc=20180618161248.GB30565@jasmine.lan \
--cc=31881@debbugs.gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.