[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add docker-libnetwork.
From: |
guix-commits |
Subject: |
04/06: gnu: Add docker-libnetwork. |
Date: |
Sun, 5 May 2019 20:25:29 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 9c0244abbd1f56bd49b2dbbd274678c7d8d92a22
Author: Maxim Cournoyer <address@hidden>
Date: Fri Apr 5 02:32:40 2019 -0400
gnu: Add docker-libnetwork.
* gnu/packages/docker.scm (docker-libnetwork): New private variable.
---
gnu/packages/docker.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 39e7e81..25395fe 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -227,6 +227,44 @@ network attachments.")
(home-page "http://containerd.io/")
(license license:asl2.0)))
+;;; Private package that shouldn't be used directly; its purposes is to be
+;;; used as a template for the various packages it contains. It doesn't build
+;;; anyway, as it needs many dependencies that aren't being satisfied.
+(define docker-libnetwork
+ ;; There are no recent release for libnetwork, so choose the last commit of
+ ;; the branch that Docker uses, as can be seen in the Docker source file
+ ;; 'hack/dockerfile/install/proxy.installer'.
+ (let ((commit "4725f2163fb214a6312f3beae5991f838ec36326")
+ (version "18.09")
+ (revision "1"))
+ (package
+ (name "docker-libnetwork")
+ (version (git-version version "1" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/docker/libnetwork.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zpnxki8qfzha6ljahpwd3vkzmjhsvkmf73w6crm4ilxxw5vnpfb"))
+ ;; Delete bundled ("vendored") free software source code.
+ (modules '((guix build utils)))
+ (snippet '(begin
+ (delete-file-recursively "vendor")
+ #t))))
+ (build-system go-build-system)
+ (arguments
+ `(#:import-path "github.com/docker/libnetwork/"))
+ (home-page "https://github.com/docker/libnetwork/")
+ (synopsis "Networking for containers")
+ (description "Libnetwork provides a native Go implementation for
+connecting containers. The goal of @code{libnetwork} is to deliver a robust
+container network model that provides a consistent programming interface and
+the required network abstractions for applications.")
+ (license license:asl2.0))))
+
;; TODO: Patch out modprobes for ip_vs, nf_conntrack,
;; brige, nf_conntrack_netlink, aufs.
(define-public docker
- branch master updated (f42e4eb -> 7a31d93), guix-commits, 2019/05/05
- 02/06: gnu: Add go-netns., guix-commits, 2019/05/05
- 04/06: gnu: Add docker-libnetwork.,
guix-commits <=
- 05/06: gnu: Add docker-libnetwork-cmd-proxy., guix-commits, 2019/05/05
- 03/06: gnu: Add go-netlink., guix-commits, 2019/05/05
- 06/06: services: docker: Add new fields to support proxy., guix-commits, 2019/05/05
- 01/06: gnu: Add go-sctp., guix-commits, 2019/05/05