aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/docker.scm
blob: c58f3f3caa6b32b0427b4b20d01500f41dfdc446 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages docker)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system python)
  #:use-module (guix utils)
  #:use-module (gnu packages check)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-web))

(define-public python-docker-py
  (package
    (name "python-docker-py")
    (version "1.10.6")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "docker-py" version))
       (sha256
        (base32
         "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc"))))
    (build-system python-build-system)
    ;; TODO: Tests require a running Docker daemon.
    (arguments '(#:tests? #f))
    (inputs
     `(("python-requests" ,python-requests)
       ("python-six" ,python-six)
       ("python-websocket-client" ,python-websocket-client)))
    (home-page "https://github.com/docker/docker-py/")
    (synopsis "Python client for Docker")
    (description "Docker-Py is a Python client for the Docker container
management tool.")
    (license license:asl2.0)))

(define-public python-dockerpty
  (package
    (name "python-dockerpty")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "dockerpty" version))
       (sha256
        (base32
         "0za6rr349641wv76ww9l3zcic2xyxrirlxpnzl4296h897648455"))))
    (build-system python-build-system)
    (native-inputs
     `(("python-six" ,python-six)))
    (home-page "https://github.com/d11wtq/dockerpty")
    (synopsis "Python library to use the pseudo-TTY of a Docker container")
    (description "Docker PTY provides the functionality needed to operate the
pseudo-terminal (PTY) allocated to a Docker container using the Python
client.")
    (license license:asl2.0)))

(define-public docker-compose
  (package
    (name "docker-compose")
    (version "1.5.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "docker-compose" version))
       (sha256
        (base32
         "0ksg7hm2yvc977968dixxisrhcmvskzpcx3pz0v1kazrdqp7xakr"))))
    (build-system python-build-system)
    ;; TODO: Tests require running Docker daemon.
    (arguments '(#:tests? #f))
    (inputs
     `(("python-docker-py" ,python-docker-py)
       ("python-dockerpty" ,python-dockerpty)
       ("python-docopt" ,python-docopt)
       ("python-jsonschema" ,python-jsonschema)
       ("python-pyyaml" ,python-pyyaml)
       ("python-requests" ,python-requests-2.7)
       ("python-six" ,python-six)
       ("python-texttable" ,python-texttable)
       ("python-websocket-client" ,python-websocket-client)))
    (home-page "https://www.docker.com/")
    (synopsis "Multi-container orchestration for Docker")
    (description "Docker Compose is a tool for defining and running
multi-container Docker applications.  A Compose file is used to configure an
application’s services.  Then, using a single command, the containers are
created and all the services are started as specified in the configuration.")
    (license license:asl2.0)))

(define-public python-docker-pycreds
  (package
    (name "python-docker-pycreds")
    (version "0.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "docker-pycreds" version))
        (sha256
         (base32
          "1zxvam1q22qb0jf48553nnncnfrcp88ag4xa0qmq6vr0imn9a3lb"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'fix-versioning
           (lambda _
             (substitute* "test-requirements.txt"
               (("3.0.2") ,(package-version python-pytest))
               (("2.3.1") ,(package-version python-pytest-cov))
               (("2.4.1") ,(package-version python-flake8)))
             #t)))))
    (native-inputs
     `(("python-flake8" ,python-flake8)
       ("python-pytest" ,python-pytest)
       ("python-pytest-cov" ,python-pytest-cov)))
    (propagated-inputs
     `(("python-six" ,python-six)))
    (home-page "https://github.com/shin-/dockerpy-creds")
    (synopsis
     "Python bindings for the Docker credentials store API")
    (description
     "Docker-Pycreds contains the Python bindings for the docker credentials
store API.  It allows programmers to interact with a Docker registry using
Python without keeping their credentials in a Docker configuration file.")
    (license license:asl2.0)))
sg-tooltip'>* gnu/packages/lxqt.scm (lxqt-config): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: lxqt.scm: Add prefix to licenses imports....* gnu/packages/lxqt.scm: Import (guix licenses) with prefix "license:". Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-admin....* gnu/packages/lxqt.scm (lxqt-admin): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-about....* gnu/packages/lxqt.scm (lxqt-about): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add pcmanfm-qt....* gnu/packages/lxqt.scm (pcmanfm-qt): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add libfm-qt....* gnu/packages/lxqt.scm (libfm-qt): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-sudo....* gnu/packages/lxqt.scm (lxqt-sudo): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-runner....* gnu/packages/lxqt.scm (lxqt-runner): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-panel....* gnu/packages/lxqt.scm (lxqt-panel): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add libsysstat....* gnu/packages/lxqt.scm (libsysstat): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-24gnu: Add lxqt-globalkeys....* gnu/packages/lxqt.scm (lxqt-globalkeys): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-23gnu: Add libstatgrab....* gnu/packages/lxqt.scm (libstatgrab): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-23gnu: Add libdbusmenu-qt....* gnu/packages/lxqt.scm (libdbusmenu-qt): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-23gnu: lxqt.scm: Sort packages alphabetically....* gnu/packages/lxqt.scm: Sort packages alphabetically. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-23gnu: lxqt-build-tools: Update download URL and home page URL....* gnu/packages/lxqt.scm (lxqt-build-tools) [source]: Update download URL to the 'lxqt' repository. [home-page]: Use HTTPS. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-23gnu: lxqt-session: Update to 0.13.0....* gnu/packages/lxqt.scm (lxqt-session): Update to 0.13.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-22gnu: liblxqt: Update to 0.13.0....* gnu/packages/lxqt.scm (liblxqt): Update to 0.13.0. [source]: Remove patches. [home-page]: Use HTTPS. * gnu/packages/patches/liblxqt-include.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-10-22gnu: libqtxdg: Update to 3.2.0....* gnu/packages/lxqt.scm (libqtxdg): Update to 3.2.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Meiyo Peng 2018-06-04gnu: lxqt-build-tools: Update to 0.5.0....* gnu/packages/lxqt.scm (lxqt-build-tools): Update to 0.5.0. Tobias Geerinckx-Rice 2018-03-20Correct name and Email for ng0....* .mailmap: Correct name and Email for ng0. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> ng0 2017-10-22gnu: lxqt-common: Remove....This package is marked as deprecated upstream. Fixes <https://bugs.gnu.org/28823>. * gnu/packages/lxqt.scm (lxqt-common): Remove. Ludovic Courtès 2017-09-26gnu: Add lxqt-build-tools....* gnu/packages/lxqt.scm (lxqt-build-tools): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> ng0