-
Notifications
You must be signed in to change notification settings - Fork 9
/
hocker.cabal
248 lines (228 loc) · 9.13 KB
/
hocker.cabal
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
name: hocker
version: 1.1.0
synopsis: Interact with the docker registry and generate nix build instructions
homepage: https://github.com/awakesecurity/hocker#readme
Bug-Reports: https://github.com/awakesecurity/hocker/issues
license: Apache-2.0
license-file: LICENSE
author: Awake Security
maintainer: [email protected]
copyright: 2016 Awake Security
category: Utilities
build-type: Simple
cabal-version: >=1.10
Tested-With: GHC == 8.0.2
Description:
@hocker@ is a suite of command line utilities and a library for:
.
* fetching a docker image
* fetching a layer of an image
* fetching an image's configuration
* fetching a docker registry image manifest
* generating nix build instructions from a registry image manifest
.
The motivation for this tool came from a need to fetch docker
image artifacts from a docker registry without the stock docker
tooling that is designed to only work with the docker daemon.
.
These tools /only/ work with version 2 of the docker registry and
docker version (>=) 1.10.
.
For a complete set of usage examples please see the project's <https://github.com/awakesecurity/hocker#readme README.md>.
extra-source-files:
LICENSE
README.md
CHANGELOG.md
data-files:
test/data/golden-debian_jessie.nix
test/data/manifest-debian_jessie.json
source-repository head
type: git
location: https://github.com/awakesecurity/hocker.git
library
ghc-options: -Wall
hs-source-dirs: src
exposed-modules:
Data.Docker.Image.AesonHelpers,
Data.Docker.Image.Types,
Data.Docker.Nix,
Data.Docker.Nix.FetchDocker,
Data.Docker.Nix.Lib,
Hocker.Lib,
Hocker.Types,
Hocker.Types.Exceptions,
Hocker.Types.Hash,
Hocker.Types.ImageName,
Hocker.Types.ImageTag,
Hocker.Types.URI,
Network.Wreq.Docker.Image,
Network.Wreq.Docker.Image.Lib,
Network.Wreq.Docker.Registry,
Network.Wreq.ErrorHandling
build-depends:
base >= 4.9 && < 5,
aeson >= 2.0.1.0,
aeson-pretty >= 0.8,
async >= 2.0.0.0 && < 2.3,
bytestring >= 0.10,
concurrentoutput >= 0.2,
containers >= 0.5,
cryptonite >= 0.13,
data-fix >= 0.0.3,
deepseq >= 1.4,
directory >= 1.2.2.0,
exceptions >= 0.8,
filepath >= 1.4,
foldl >= 1.0,
hnix >= 0.9.0,
http-client >= 0.4,
http-types >= 0.9.1,
lens >= 4.0,
lens-aeson >= 1.0,
lifted-base >= 0.2.3.8,
megaparsec >= 7.0.0,
memory >= 0.11,
mtl >= 2.2,
neat-interpolation >= 0.3.2,
network >= 2.6,
network-uri >= 2.6,
optparse-applicative >= 0.13,
optparse-generic >= 1.4.0,
prettyprinter >= 1.1.1,
pooled-io >= 0.0.2,
pureMD5 >= 2.1,
scientific >= 0.3,
tar >= 0.5,
temporary >= 1.2,
text >= 1.2,
time >= 1.4,
transformers >= 0.4,
turtle >= 1.3.0 && < 1.7,
unordered-containers >= 0.2,
uri-bytestring >= 0.2,
vector >= 0.11,
wreq >= 0.4,
zlib >= 0.6,
nix-paths >= 1.0.1 && < 1.1
default-language: Haskell2010
executable hocker-image
hs-source-dirs: hocker-image
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.10,
filepath >= 1.4,
hocker,
lens >= 4.0,
mtl >= 2.2,
network >= 2.6,
optional-args,
optparse-applicative >= 0.13,
optparse-generic >= 1.2.0,
temporary >= 1.2,
text >= 1.2
default-language: Haskell2010
executable hocker-layer
hs-source-dirs: hocker-layer
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.10,
cryptonite >= 0.13,
filepath >= 1.4,
hocker,
lens >= 4.0,
mtl >= 2.2,
network >= 2.6,
optional-args,
optparse-applicative >= 0.13,
optparse-generic >= 1.2.0,
temporary >= 1.2,
text >= 1.2
default-language: Haskell2010
executable hocker-config
hs-source-dirs: hocker-config
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.10,
filepath >= 1.4,
hocker,
lens >= 4.0,
mtl >= 2.2,
network >= 2.6,
optional-args,
optparse-applicative >= 0.13,
optparse-generic >= 1.2.0,
temporary >= 1.2,
text >= 1.2
default-language: Haskell2010
executable hocker-manifest
hs-source-dirs: hocker-manifest
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.9 && < 5,
text >= 1.2,
lens >= 4.0,
optparse-generic >= 1.2.0,
temporary >= 1.2,
optparse-applicative >= 0.13,
filepath >= 1.4,
mtl >= 2.2,
network >= 2.6,
bytestring >= 0.10,
optional-args,
hocker
default-language: Haskell2010
executable docker2nix
hs-source-dirs: docker2nix
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.10,
data-fix >= 0.0.3,
filepath >= 1.4,
hnix >= 0.5.2,
hocker,
lens >= 4.0,
mtl >= 2.2,
network >= 2.6,
optional-args,
optparse-applicative >= 0.13,
optparse-generic >= 1.2.0,
temporary >= 1.2,
text >= 1.2
default-language: Haskell2010
test-suite hocker-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Tests.Data.Docker.Image,
Tests.Data.Docker.Nix.FetchDocker
build-depends:
base >= 4.9 && < 5,
aeson >= 0.9.0.1,
bytestring >= 0.10,
containers >= 0.5,
cryptonite >= 0.13,
hocker,
mtl >= 2.2,
network >= 2.6,
network-uri >= 2.6,
prettyprinter >= 1.1.1,
tasty >= 0.11,
tasty-golden >= 2.3,
tasty-hunit >= 0.9,
tasty-quickcheck >= 0.8,
tasty-smallcheck >= 0.8,
text >= 1.2,
unordered-containers >= 0.2,
word8 >= 0.1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010