gnu: go-github-com-oschwald-maxminddb-golang: Update to 1.4.0.
[jackhill/guix/guix.git] / gnu / packages / syncthing.scm
CommitLineData
56a37713
LF
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Petter <petter@mykolab.ch>
29519750 3;;; Copyright © 2016, 2017, 2018, 2019 Leo Famulari <leo@famulari.name>
56a37713
LF
4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages syncthing)
21 #:use-module (guix build-system go)
cca22eb3 22 #:use-module (guix build-system trivial)
56a37713 23 #:use-module (guix packages)
947453a8 24 #:use-module (guix download)
56a37713 25 #:use-module (guix git-download)
269d0858 26 #:use-module (guix licenses)
fd115bee 27 #:use-module (gnu packages)
269d0858 28 #:use-module (gnu packages golang))
56a37713 29
947453a8
LF
30(define-public syncthing
31 (package
32 (name "syncthing")
d5508458 33 (version "1.2.2")
947453a8
LF
34 (source (origin
35 (method url-fetch)
36 (uri (string-append "https://github.com/syncthing/syncthing"
37 "/releases/download/v" version
38 "/syncthing-source-v" version ".tar.gz"))
39 (sha256
40 (base32
d5508458 41 "1wdjh8xw09s1nfkpc95v04619gqa4dpbygp2y5l35ww4g916lv3s"))
21d06acd
LF
42 (modules '((guix build utils)))
43 ;; Delete bundled ("vendored") free software source code.
44 (snippet '(begin
45 (delete-file-recursively "vendor")
46 #t))))
947453a8 47 (build-system go-build-system)
c330c27f
LF
48 ;; The primary Syncthing executable goes to "out", while the auxiliary
49 ;; server programs and utility tools go to "utils". This reduces the size
50 ;; of "out" by ~80 MiB.
51 (outputs '("out" "utils"))
21d06acd
LF
52 ;; When updating Syncthing, check 'go.mod' in the source distribution to
53 ;; ensure we are using the correct versions of these dependencies.
54 (inputs
55 `(("go-github-com-audriusbutkevicius-go-nat-pmp"
56 ,go-github-com-audriusbutkevicius-go-nat-pmp)
57 ("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4)
21d06acd
LF
58 ("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr)
59 ("go-github-com-chmduquesne-rollinghash"
60 ,go-github-com-chmduquesne-rollinghash)
61 ("go-github-com-gobwas-glob" ,go-github-com-gobwas-glob)
62 ("go-github-com-golang-groupcache-lru"
63 ,go-github-com-golang-groupcache-lru)
64 ("go-github-com-jackpal-gateway" ,go-github-com-jackpal-gateway)
65 ("go-github-com-kballard-go-shellquote"
66 ,go-github-com-kballard-go-shellquote)
67 ("go-github-com-lib-pq" ,go-github-com-lib-pq)
68 ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
69 ("go-github-com-oschwald-geoip2-golang"
70 ,go-github-com-oschwald-geoip2-golang)
71 ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
72 ("go-github-com-rcrowley-go-metrics" ,go-github-com-rcrowley-go-metrics)
73 ("go-github-com-sasha-s-go-deadlock" ,go-github-com-sasha-s-go-deadlock)
74 ("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify)
75 ("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb)
76 ("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture)
561d391b 77 ("go-golang-org-x-time" ,go-golang-org-x-time)
21d06acd
LF
78 ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2)
79 ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
d5508458 80 ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil)
491d07cc
LF
81 ("go-github-com-prometheus-client-golang"
82 ,go-github-com-prometheus-client-golang)
561d391b
LF
83 ("go-golang-org-x-net" ,go-golang-org-x-net)
84 ("go-golang-org-x-text" ,go-golang-org-x-text)
21d06acd
LF
85 ("go-github-com-audriusbutkevicius-recli"
86 ,go-github-com-audriusbutkevicius-recli)
87 ("go-github-com-urfave-cli" ,go-github-com-urfave-cli)
9a0c4b63 88 ("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart)
21d06acd 89 ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
18c4b0a2 90 ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
21d06acd
LF
91 ("go-github-com-flynn-archive-go-shlex"
92 ,go-github-com-flynn-archive-go-shlex)
18c4b0a2
LF
93 ("go-github-com-getsentry-raven-go" ,go-github-com-getsentry-raven-go)
94 ("go-github-com-maruel-panicparse" ,go-github-com-maruel-panicparse)
95 ("go-github-com-ccding-go-stun" ,go-github-com-ccding-go-stun)
96 ("go-github-com-audriusbutkevicius-pfilter" ,go-github-com-audriusbutkevicius-pfilter)
97 ("go-github-com-lucas-clemente-quic-go" ,go-github-com-lucas-clemente-quic-go)
21d06acd
LF
98
99 ;; For tests
100 ("go-github-com-d4l3k-messagediff" ,go-github-com-d4l3k-messagediff)))
101
947453a8
LF
102 (arguments
103 `(#:import-path "github.com/syncthing/syncthing"
1899ef0b
LF
104 ;; We don't need to install the source code for end-user applications.
105 #:install-source? #f
947453a8
LF
106 #:phases
107 (modify-phases %standard-phases
947453a8
LF
108 (add-before 'build 'increase-test-timeout
109 (lambda _
110 (substitute* "src/github.com/syncthing/syncthing/build.go"
7d15490c 111 (("120s") "999s"))
947453a8
LF
112 #t))
113
114 (replace 'build
c7c0b3a9 115 (lambda _
947453a8 116 (with-directory-excursion "src/github.com/syncthing/syncthing"
1feaca62 117 (invoke "go" "run" "build.go" "-no-upgrade"))))
947453a8
LF
118
119 (replace 'check
120 (lambda _
121 (with-directory-excursion "src/github.com/syncthing/syncthing"
1feaca62 122 (invoke "go" "run" "build.go" "test"))))
947453a8
LF
123
124 (replace 'install
c330c27f
LF
125 (lambda* (#:key outputs #:allow-other-keys)
126 (let ((out (assoc-ref outputs "out"))
127 (utils (assoc-ref outputs "utils"))
128 (src "src/github.com/syncthing/syncthing/bin/"))
129 (install-file (string-append src "/syncthing")
130 (string-append out "/bin"))
131 (delete-file (string-append src "/syncthing"))
132 (copy-recursively "src/github.com/syncthing/syncthing/bin/"
133 (string-append utils "/bin"))
134 #t)))
947453a8
LF
135
136 (add-after 'install 'install-docs
137 (lambda* (#:key outputs #:allow-other-keys)
138 (let* ((out (assoc-ref outputs "out"))
c330c27f
LF
139 (utils (assoc-ref outputs "utils"))
140 (man "/share/man")
141 (man-section (string-append man "/man"))
947453a8 142 (src "src/github.com/syncthing/syncthing/man/"))
c330c27f 143 ;; Install all the man pages to "out".
947453a8
LF
144 (for-each
145 (lambda (file)
146 (install-file file
c330c27f
LF
147 (string-append out man-section
148 (string-take-right file 1))))
947453a8 149 (find-files src "\\.[1-9]"))
c330c27f
LF
150 ;; Copy all the man pages to "utils"
151 (copy-recursively (string-append out man)
152 (string-append utils man))
153 ;; Delete extraneous man pages from "out" and "utils",
154 ;; respectively.
155 (delete-file (string-append out man "/man1/stdiscosrv.1"))
156 (delete-file (string-append out man "/man1/strelaysrv.1"))
157 (delete-file (string-append utils man "/man1/syncthing.1"))
947453a8 158 #t))))))
162a1374 159 (synopsis "Decentralized continuous file system synchronization")
947453a8
LF
160 (description "Syncthing is a peer-to-peer file synchronization tool that
161supports a wide variety of computing platforms. It uses the Block Exchange
162Protocol.")
163 (home-page "https://github.com/syncthing/syncthing")
164 (license mpl2.0)))
165
56a37713
LF
166(define-public go-github-com-audriusbutkevicius-go-nat-pmp
167 (let ((commit "452c97607362b2ab5a7839b8d1704f0396b640ca")
168 (revision "0"))
169 (package
170 (name "go-github-com-audriusbutkevicius-go-nat-pmp")
171 (version (git-version "0.0.0" revision commit))
172 (source (origin
173 (method git-fetch)
174 (uri (git-reference
175 (url "https://github.com/AudriusButkevicius/go-nat-pmp")
176 (commit commit)))
177 (file-name (git-file-name name version))
178 (sha256
179 (base32 "1accmpl1llk16a19nlyy991fqrgfay6l53gb64hgmdfmqljdvbk7"))))
180 (build-system go-build-system)
181 (arguments
182 `(#:import-path "github.com/AudriusButkevicius/go-nat-pmp"))
183 (synopsis "Port mapping and discovery of external IP address")
a8d47651 184 (description "This package provides a Go client for the NAT-PMP internet
56a37713
LF
185protocol for port mapping and discovering the external IP address of a
186firewall.")
187 (home-page "https://github.com/AudriusButkevicius/go-nat-pmp")
188 (license asl2.0))))
67b46818 189
4e9e74be
LF
190(define-public go-github-com-audriusbutkevicius-recli
191 (package
192 (name "go-github-com-audriusbutkevicius-recli")
193 (version "0.0.5")
194 (source (origin
195 (method git-fetch)
196 (uri (git-reference
197 (url "https://github.com/AudriusButkevicius/recli")
198 (commit (string-append "v" version))))
199 (file-name (git-file-name name version))
200 (sha256
201 (base32
202 "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf"))))
203 (build-system go-build-system)
204 (inputs
205 `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
206 ("go-github-com-urfave-cli" ,go-github-com-urfave-cli)))
207 (arguments
208 `(#:import-path "github.com/AudriusButkevicius/recli"))
209 (synopsis "Reflection-based CLI generator")
210 (description "For a given struct, @code{recli} builds a set of
211@code{urfave/cli} commands which allows you to modify it from the command line.
212It is useful for generating command line clients for your application
213configuration that is stored in a Go struct.")
214 (home-page "https://github.com/AudriusButkevicius/recli")
215 (license mpl2.0)))
216
67b46818
LF
217(define-public go-github-com-bkaradzic-go-lz4
218 (let ((commit "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a")
219 (revision "0"))
220 (package
221 (name "go-github-com-bkaradzic-go-lz4")
222 (version (git-version "0.0.0" revision commit))
223 (source (origin
224 (method git-fetch)
225 (uri (git-reference
226 (url "https://github.com/bkaradzic/go-lz4")
227 (commit commit)))
228 (file-name (git-file-name name version))
229 (sha256
230 (base32
231 "10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb"))))
232 (build-system go-build-system)
233 (arguments
234 `(#:import-path "github.com/bkaradzic/go-lz4"))
235 (synopsis "LZ4 compression algorithm")
236 (description "This package provides @code{go-lz4}, a Go implementation of
237the LZ4 compression algorithm.")
238 (home-page "https://github.com/bkaradzic/go-lz4")
239 (license bsd-2))))
add56f34
LF
240
241(define-public go-github-com-calmh-du
242 (package
243 (name "go-github-com-calmh-du")
244 (version "1.0.1")
245 (source (origin
246 (method git-fetch)
247 (uri (git-reference
248 (url "https://github.com/calmh/du")
249 (commit (string-append "v" version))))
250 (file-name (git-file-name name version))
251 (sha256
252 (base32
253 "0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2"))))
254 (build-system go-build-system)
255 (arguments
256 `(#:import-path "github.com/calmh/du"))
257 (synopsis "Get total and available disk space of a given volume")
258 (description "This is a Go implementation of `du`. It provides disk usage
259information, such as how much storage space is available, free, and used.")
260 (home-page "https://github.com/calmh/du")
261 (license public-domain)))
1e28085e
LF
262
263(define-public go-github-com-calmh-xdr
fef131b4
LF
264 (package
265 (name "go-github-com-calmh-xdr")
266 (version "1.1.0")
267 (source (origin
268 (method git-fetch)
269 (uri (git-reference
270 (url "https://github.com/calmh/xdr")
271 (commit (string-append "v" version))))
272 (file-name (git-file-name name version))
273 (sha256
274 (base32
275 "072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh"))))
276 (build-system go-build-system)
277 (arguments
278 `(#:import-path "github.com/calmh/xdr"))
279 (synopsis "XDR marshalling and unmarshalling")
280 (description "XDR is an External Data Representation (XDR)
1e28085e
LF
281marshalling and unmarshalling library in Go. It uses code generation and not
282reflection.")
fef131b4
LF
283 (home-page "https://github.com/calmh/xdr")
284 (license expat)))
ab3e1589
LF
285
286(define-public go-github-com-d4l3k-messagediff
edda279f
LF
287 (package
288 (name "go-github-com-d4l3k-messagediff")
289 (version "1.2.1")
290 (source (origin
291 (method git-fetch)
292 (uri (git-reference
293 (url "https://github.com/d4l3k/messagediff")
294 (commit (string-append "v" version))))
295 (file-name (git-file-name name version))
296 (sha256
297 (base32
298 "104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v"))))
299 (build-system go-build-system)
300 (arguments
301 `(#:import-path "github.com/d4l3k/messagediff"))
302 (synopsis "Diff arbitrary Go structs")
303 (description "Messagediff is a library for calculating diffs of arbitrary
ab3e1589 304structs in the Go programming language.")
edda279f
LF
305 (home-page "https://github.com/d4l3k/messagediff")
306 (license expat)))
a3a5b012 307
4d93ebb3 308(define-public go-github-com-gobwas-glob
c32e70a8
LF
309 (package
310 (name "go-github-com-gobwas-glob")
311 (version "0.2.3")
312 (source (origin
313 (method git-fetch)
314 (uri (git-reference
315 (url "https://github.com/gobwas/glob")
316 (commit (string-append "v" version))))
317 (file-name (git-file-name name version))
318 (sha256
319 (base32
320 "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z"))))
321 (build-system go-build-system)
322 (arguments
323 `(#:import-path "github.com/gobwas/glob"))
324 (synopsis "Go globbing library")
325 (description "This package provides a Go implementation of globs.")
326 (home-page "https://github.com/gobwas/glob")
327 (license expat)))
07e88fc6 328
ede4f50c
LF
329
330(define-public go-github-com-golang-groupcache-lru
87abee4e
LF
331 (let ((commit "869f871628b6baa9cfbc11732cdf6546b17c1298")
332 (revision "2"))
ede4f50c
LF
333 (package
334 (name "go-github-com-golang-groupcache-lru")
335 (version (git-version "0.0.0" revision commit))
336 (source (origin
337 (method git-fetch)
338 (uri (git-reference
339 (url "https://github.com/golang/groupcache")
340 (commit commit)))
341 (file-name (git-file-name name version))
342 (sha256
343 (base32
87abee4e 344 "0r4nk8129bvx50qb4xzjaay39b2h6k7cbdqqzdlanmc82ygczsbw"))))
ede4f50c
LF
345 (build-system go-build-system)
346 (arguments
347 `(#:import-path "github.com/golang/groupcache/lru"
348 #:unpack-path "github.com/golang/groupcache"))
349 (synopsis "Groupcache is a caching and cache-filling library")
350 (description "Groupcache is a caching and cache-filling library, intended
351as a replacement for memcached in many cases. It provides a data loading
352mechanism with caching and de-duplication that works across a set of peer
353processes.")
354 (home-page "https://github.com/golang/groupcache")
355 (license asl2.0))))
b32eab0b
LF
356
357(define-public go-github-com-golang-snappy
358 (let ((commit "553a641470496b2327abcac10b36396bd98e45c9")
359 (revision "0"))
360 (package
361 (name "go-github-com-golang-snappy")
362 (version (git-version "0.0.0" revision commit))
363 (source (origin
364 (method git-fetch)
365 (uri (git-reference
366 (url "https://github.com/golang/snappy")
367 (commit commit)))
368 (file-name (git-file-name name version))
369 (sha256
370 (base32
371 "0kssxnih1l722hx9219c7javganjqkqhvl3i0hp0hif6xm6chvqk"))))
372 (build-system go-build-system)
373 (arguments
374 `(#:import-path "github.com/golang/snappy"))
375 (synopsis "Snappy compression format in the Go programming language")
376 (description "This package provides a Go implementation of the Snappy
377compression format.")
378 (home-page "https://github.com/golang/snappy")
379 (license bsd-3))))
7b92093d
LF
380
381(define-public go-github-com-jackpal-gateway
a427d735
LF
382 (package
383 (name "go-github-com-jackpal-gateway")
384 (version "1.0.5")
385 (source (origin
386 (method git-fetch)
387 (uri (git-reference
388 (url "https://github.com/jackpal/gateway")
389 (commit (string-append "v" version))))
390 (file-name (git-file-name name version))
391 (sha256
392 (base32
393 "1ird5xmizj632l3dq24s2xgb8w1dn6v8xznlqz252gvngyr2gjl1"))))
394 (build-system go-build-system)
395 (arguments
396 `(#:import-path "github.com/jackpal/gateway"))
397 (synopsis "Discover the address of a LAN gateway")
398 (description "@code{gateway} is a Go library for discovering the IP
7b92093d 399address of the default LAN gateway.")
a427d735
LF
400 (home-page "https://github.com/jackpal/gateway")
401 (license bsd-3)))
7577a1d5 402
340e1a9a 403(define-public go-github-com-lib-pq
d73cbbda
LF
404 (package
405 (name "go-github-com-lib-pq")
158e8293 406 (version "1.2.0")
d73cbbda
LF
407 (source (origin
408 (method git-fetch)
409 (uri (git-reference
410 (url "https://github.com/lib/pq")
411 (commit (string-append "v" version))))
412 (file-name (git-file-name name version))
413 (sha256
414 (base32
158e8293 415 "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz"))))
d73cbbda
LF
416 (build-system go-build-system)
417 (arguments
418 `(#:import-path "github.com/lib/pq"
419 ;; The tests seem to fail without access to the network or a running
420 ;; Postgres instance.
421 #:tests? #f))
422 (synopsis "Golang Postgres driver for Go's database/sql")
a2ca130a 423 (description "This package provides a pure Go Postgres driver for Go's
340e1a9a 424database/sql package.")
d73cbbda
LF
425 (home-page "https://github.com/lib/pq")
426 (license expat)))
4a9c4dbe 427
0921b230 428(define-public go-github-com-oschwald-geoip2-golang
d277b9bc
LF
429 (package
430 (name "go-github-com-oschwald-geoip2-golang")
70f3a384 431 (version "1.3.0")
d277b9bc
LF
432 (source (origin
433 (method git-fetch)
434 (uri (git-reference
435 (url "https://github.com/oschwald/geoip2-golang")
436 (commit (string-append "v" version))))
437 (file-name (git-file-name name version))
438 (sha256
439 (base32
70f3a384 440 "0jivzl15jb8n16rm1b2w97kf7vna5dd3kcz865wfi233qay075j2"))))
d277b9bc
LF
441 (build-system go-build-system)
442 (propagated-inputs
443 `(("go-github-com-oschwald-maxminddb-golang"
444 ,go-github-com-oschwald-maxminddb-golang)
561d391b 445 ("go-golang-org-x-sys" ,go-golang-org-x-sys)))
d277b9bc
LF
446 (arguments
447 `(#:import-path "github.com/oschwald/geoip2-golang"
448 #:tests? #f)) ; Requires some unpackaged software and test data
449 (synopsis "MaxMind GeoIP2 reader")
662ab81d 450 (description "This package provides a library for reading MaxMind
0921b230 451GeoLite2 and GeoIP2 databases in Go.")
d277b9bc
LF
452 (home-page "https://github.com/oschwald/geoip2-golang")
453 (license isc)))
0921b230 454
a57778f5 455(define-public go-github-com-oschwald-maxminddb-golang
8e7e2dbc
LF
456 (package
457 (name "go-github-com-oschwald-maxminddb-golang")
458 (version "1.4.0")
459 (source (origin
460 (method git-fetch)
461 (uri (git-reference
462 (url "https://github.com/oschwald/maxminddb-golang")
463 (commit (string-append "v" version))))
464 (file-name (git-file-name name version))
465 (sha256
466 (base32
467 "100wd5qv00pkcm6cb8c4x5gavc9jnn7drh6xrqh85hzci4rils66"))))
468 (build-system go-build-system)
469 (propagated-inputs
470 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
471 (arguments
472 `(#:import-path "github.com/oschwald/maxminddb-golang"
473 #:tests? #f)) ; Requires some unpackaged software and test data
474 (synopsis "MaxMind DB Reader for Go")
475 (description "This is a Go reader for the MaxMind DB format. Although
a57778f5
LF
476this can be used to read GeoLite2 and GeoIP2 databases, @code{geoip2} provides a
477higher-level API for doing so.")
8e7e2dbc
LF
478 (home-page "https://github.com/oschwald/maxminddb-golang")
479 (license isc)))
a57778f5 480
6bc1eb11
LF
481(define-public go-github-com-stathat-go
482 (let ((commit "74669b9f388d9d788c97399a0824adbfee78400e")
483 (revision "0"))
484 (package
485 (name "go-github-com-stathat-go")
486 (version (git-version "0.0.0" revision commit))
487 (source (origin
488 (method git-fetch)
489 (uri (git-reference
490 (url "https://github.com/stathat/go")
491 (commit commit)))
492 (file-name (git-file-name name version))
493 (sha256
494 (base32
495 "1zzlsl24dyr202qkr2pay22m6d0gb7ssms77wgdx0r0clgm7dihw"))))
496 (build-system go-build-system)
497 (arguments
498 `(#:import-path "github.com/stathat/go"))
499 (synopsis "Post statistics to StatHat")
500 (description "This is a Go package for posting to a StatHat account.")
501 (home-page "https://github.com/stathat/go")
502 (license expat))))
503
1a4795f9 504(define-public go-github-com-rcrowley-go-metrics
d2c7971d
LF
505 (let ((commit "e181e095bae94582363434144c61a9653aff6e50")
506 (revision "1"))
1a4795f9
LF
507 (package
508 (name "go-github-com-rcrowley-go-metrics")
509 (version (git-version "0.0.0" revision commit))
510 (source (origin
511 (method git-fetch)
512 (uri (git-reference
513 (url "https://github.com/rcrowley/go-metrics")
514 (commit commit)))
515 (file-name (git-file-name name version))
516 (sha256
517 (base32
d2c7971d 518 "1pwkyw801hy7n94skzk6h177zqcil6ayrmb5gs3jdpsfayh8ia5w"))))
1a4795f9
LF
519 (build-system go-build-system)
520 (arguments
521 `(#:import-path "github.com/rcrowley/go-metrics"))
522 (propagated-inputs
523 `(("go-github-com-stathat-go" ,go-github-com-stathat-go)))
524 (synopsis "Go port of Coda Hale's Metrics library")
525 (description "This package provides a Go implementation of Coda Hale's
526Metrics library.")
527 (home-page "https://github.com/rcrowley/go-metrics")
528 (license bsd-2))))
529
8d7e9924 530(define-public go-github-com-sasha-s-go-deadlock
767579d1
LF
531 (package
532 (name "go-github-com-sasha-s-go-deadlock")
533 (version "0.2.0")
534 (source (origin
535 (method git-fetch)
536 (uri (git-reference
537 (url "https://github.com/sasha-s/go-deadlock")
538 (commit (string-append "v" version))))
539 (file-name (git-file-name name version))
540 (sha256
541 (base32
542 "13p7b7pakd9k1c2k0fs1hfim3c8mivz679977ai6zb01s4aw7gyg"))))
543 (build-system go-build-system)
544 (arguments
545 `(#:import-path "github.com/sasha-s/go-deadlock"))
546 (propagated-inputs
547 `(("go-github-com-petermattis-goid" ,go-github-com-petermattis-goid)))
548 (synopsis "Deadlock detection in go")
549 (description "This package provides tools for detecting deadlocks at
8d7e9924 550run-time in Go.")
767579d1
LF
551 (home-page "https://github.com/sasha-s/go-deadlock")
552 (license asl2.0)))
8d7e9924 553
c864a4a7 554(define-public go-github-com-syndtr-goleveldb
a93e2392
LF
555 (let ((commit "c3a204f8e96543bb0cc090385c001078f184fc46")
556 (revision "3"))
c864a4a7
LF
557 (package
558 (name "go-github-com-syndtr-goleveldb")
a93e2392 559 (version (git-version "1.0.1" revision commit))
c864a4a7
LF
560 (source (origin
561 (method git-fetch)
562 (uri (git-reference
563 (url "https://github.com/syndtr/goleveldb")
564 (commit commit)))
565 (file-name (git-file-name name version))
566 (sha256
567 (base32
a93e2392 568 "18cac90dim2z5g28vazzibxa058q2ynihsmf0vbscwzba6l5s5ms"))))
c864a4a7
LF
569 (build-system go-build-system)
570 (propagated-inputs
571 `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy)))
572 (arguments
573 `(#:import-path "github.com/syndtr/goleveldb/leveldb"
574 #:unpack-path "github.com/syndtr/goleveldb"
575 #:tests? #f)) ; XXX needs 'github.com/onsi/gomega' package
576 (synopsis "LevelDB key/value database")
577 (description "This is an implementation of the LevelDB key / value
578database in Go.")
579 (home-page "https://github.com/syndtr/goleveldb")
580 (license bsd-2))))
581
f7612f0f 582(define-public go-github-com-thejerf-suture
ac51900d
LF
583 (package
584 (name "go-github-com-thejerf-suture")
585 (version "3.0.2")
586 (source (origin
587 (method git-fetch)
588 (uri (git-reference
589 (url "https://github.com/thejerf/suture")
590 (commit (string-append "v" version))))
591 (file-name (git-file-name name version))
592 (sha256
593 (base32
594 "03bdrl78jfwk0kw40lj63ga9cxhgccgss8yi9lp5j0m0ml7921gh"))))
595 (build-system go-build-system)
596 (arguments
597 `(#:import-path "github.com/thejerf/suture"))
598 (synopsis "Supervisor trees for Go")
599 (description "Suture provides Erlang-ish supervisor trees for Go.
f7612f0f
LF
600\"Supervisor trees\" -> \"sutree\" -> \"suture\" -> holds your code together
601when it's trying to die.
602
603It is intended to deal gracefully with the real failure cases that can occur
604with supervision trees (such as burning all your CPU time endlessly restarting
605dead services), while also making no unnecessary demands on the \"service\"
606code, and providing hooks to perform adequate logging with in a production
607environment")
ac51900d
LF
608 (home-page "https://github.com/thejerf/suture")
609 (license expat)))
f7612f0f 610
9a0c4b63 611(define-public go-github-com-vitrun-qart
292a6b0d
LF
612 (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
613 (revision "0"))
614 (package
9a0c4b63 615 (name "go-github-com-vitrun-qart")
292a6b0d
LF
616 (version (git-version "0.0.0" revision commit))
617 (source (origin
618 (method git-fetch)
619 (uri (git-reference
620 (url "https://github.com/vitrun/qart")
621 (commit commit)))
622 (file-name (string-append "go-github-com-vitrun-qart-"
623 version "-checkout"))
624 (sha256
625 (base32
626 "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc"))))
627 (build-system go-build-system)
628 (arguments
9a0c4b63
LF
629 `(#:import-path "github.com/vitrun/qart"))
630 (synopsis "Create QR codes with an embedded image")
292a6b0d
LF
631 (description "This package provides a library for embedding
632human-meaningful graphics in QR codes. However, instead of scribbling on
633redundant pieces and relying on error correction to preserve the meaning,
634@code{qart} engineers the encoded values to create the picture in a code with no
9a0c4b63 635inherent errors.")
892ced6d 636 (home-page "https://github.com/vitrun/qart")
6934827a
LF
637 (license bsd-3))))
638
78d1b85a 639(define-public go-github-com-chmduquesne-rollinghash
2fcd1c84
LF
640 (let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81")
641 (revision "0"))
2785690a 642 (package
78d1b85a 643 (name "go-github-com-chmduquesne-rollinghash")
2fcd1c84 644 (version (git-version "4.0.0" revision commit))
2785690a
LF
645 (source
646 (origin
647 (method git-fetch)
648 (uri (git-reference
649 (url "https://github.com/chmduquesne/rollinghash.git")
650 (commit commit)))
651 (file-name (git-file-name name version))
652 (sha256
653 (base32
2fcd1c84 654 "0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr"))))
2785690a
LF
655 (build-system go-build-system)
656 (arguments
78d1b85a
LF
657 '(#:import-path "github.com/chmduquesne/rollinghash/"))
658 (synopsis "Rolling hashes in Go")
659 (description "This package provides a Go implementation of several rolling
660hashes.")
2785690a
LF
661 (home-page "https://github.com/chmduquesne/rollinghash")
662 (license expat))))
3d86b557 663
73a2f841
LF
664(define-public go-github-com-petermattis-goid
665 (let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02")
666 (revision "0"))
667 (package
668 (name "go-github-com-petermattis-goid")
669 (version (git-version "0.0.0" revision commit))
670 (source (origin
671 (method git-fetch)
672 (uri (git-reference
673 (url "https://github.com/petermattis/goid.git")
674 (commit commit)))
675 (file-name (git-file-name name version))
676 (sha256
677
678 (base32
679 "0z18a3mr72c52g7g94n08gxw0ksnaafbfwdl5p5jav2sffirb0kd"))))
680 (build-system go-build-system)
681 (arguments
682 '(#:import-path "github.com/petermattis/goid"))
683 (synopsis "Identify the running goroutine")
b55b96a7 684 (description "This package offers a method of programmatically retrieving
73a2f841
LF
685the current goroutine's ID.")
686 (home-page "https://github.com/petermattis/goid")
687 (license asl2.0))))
71415e23 688
89d91ee2 689(define-public go-github-com-kballard-go-shellquote
e268d0bb
LF
690 (let ((commit "95032a82bc518f77982ea72343cc1ade730072f0")
691 (revision "1"))
89d91ee2
LF
692 (package
693 (name "go-github-com-kballard-go-shellquote")
694 (version (git-version "0.0.0" revision commit))
695 (source (origin
696 (method git-fetch)
697 (uri (git-reference
698 (url "https://github.com/kballard/go-shellquote.git")
699 (commit commit)))
700 (file-name (git-file-name name version))
701 (sha256
702 (base32
e268d0bb 703 "1rspvmnsikdq95jmx3dykxd4k1rmgl98ryjrysvl0cf18hl1vq80"))))
89d91ee2
LF
704 (build-system go-build-system)
705 (arguments
706 '(#:import-path "github.com/kballard/go-shellquote"))
707 (synopsis "Shell-style string joins and splits")
708 (description "Shellquote provides utilities for joining/splitting strings
709using sh's word-splitting rules.")
710 (home-page "https://github.com/kballard/go-shellquote")
711 (license expat))))
a3d98dd8 712
2849c665 713(define-public go-github-com-syncthing-notify
e9a0e475
LF
714 (let ((commit "69c7a957d3e261f9744f46b3dd4d608d8480ad90")
715 (revision "5"))
52ff28e4 716 (package
2849c665 717 (name "go-github-com-syncthing-notify")
52ff28e4
LF
718 (version (git-version "0.0.0" revision commit))
719 (source (origin
720 (method git-fetch)
721 (uri (git-reference
2849c665 722 (url "https://github.com/syncthing/notify")
52ff28e4
LF
723 (commit commit)))
724 (file-name (git-file-name name version))
725 (sha256
726 (base32
e9a0e475 727 "1mmdzyfnmjabyhbipl4bggw4w5nlxyyjp0d93qd824kj07kmsr1f"))))
52ff28e4
LF
728 (build-system go-build-system)
729 (arguments
2849c665 730 '(#:import-path "github.com/syncthing/notify"))
52ff28e4 731 (propagated-inputs
561d391b 732 `(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
3bd840e4 733 (synopsis "File system event notification library")
162a1374 734 (description "This package provides @code{notify}, a file system event
52ff28e4 735notification library in Go.")
2849c665 736 (home-page "https://github.com/syncthing/notify")
52ff28e4 737 (license expat))))
63aade45 738
a04434f2
LF
739(define-public go-github-com-beorn7-perks-quantile
740 (let ((commit "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9")
741 (revision "0"))
742 (package
743 (name "go-github-com-beorn7-perks-quantile")
744 (version (git-version "0.0.0" revision commit))
745 (source (origin
746 (method git-fetch)
747 (uri (git-reference
748 (url "https://github.com/beorn7/perks.git")
749 (commit commit)))
750 (file-name (git-file-name name version))
751 (sha256
752 (base32
753 "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"))))
754 (build-system go-build-system)
755 (arguments
756 '(#:import-path "github.com/beorn7/perks/quantile"
757 #:unpack-path "github.com/beorn7/perks"))
758 (synopsis "Compute approximate quantiles over an unbounded data stream")
759 (description "Perks contains the Go package @code{quantile} that computes
760approximate quantiles over an unbounded data stream within low memory and CPU
761bounds.")
762 (home-page "https://github.com/beorn7/perks")
763 (license expat))))
339e44da
LF
764
765(define-public go-github-com-golang-protobuf-proto
339e44da
LF
766 (package
767 (name "go-github-com-golang-protobuf-proto")
a85a78eb 768 (version "1.3.1")
339e44da
LF
769 (source (origin
770 (method git-fetch)
771 (uri (git-reference
772 (url "https://github.com/golang/protobuf.git")
a85a78eb 773 (commit (string-append "v" version))))
339e44da
LF
774 (file-name (git-file-name name version))
775 (sha256
776 (base32
a85a78eb 777 "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
339e44da
LF
778 (build-system go-build-system)
779 (arguments
780 '(#:import-path "github.com/golang/protobuf/proto"
781 #:unpack-path "github.com/golang/protobuf"
782 #:tests? #f ; requires unpackaged golang.org/x/sync/errgroup
783 ))
784 (synopsis "Go support for Protocol Buffers")
785 (description "This package provides Go support for the Protocol Buffers
786data serialization format.")
787 (home-page "https://github.com/golang/protobuf")
a85a78eb 788 (license bsd-3)))
4b6b1a38 789
491d07cc 790(define-public go-github-com-prometheus-client-model
371b7042
LF
791 (let ((commit "fd36f4220a901265f90734c3183c5f0c91daa0b8")
792 (revision "1"))
4b6b1a38 793 (package
491d07cc 794 (name "go-github-com-prometheus-client-model")
4b6b1a38
LF
795 (version (git-version "0.0.2" revision commit))
796 (source (origin
797 (method git-fetch)
798 (uri (git-reference
799 (url "https://github.com/prometheus/client_model.git")
800 (commit commit)))
801 (file-name (git-file-name name version))
802 (sha256
803 (base32
371b7042 804 "1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5"))))
4b6b1a38
LF
805 (build-system go-build-system)
806 (arguments
491d07cc
LF
807 '(#:import-path "github.com/prometheus/client_model"
808 #:tests? #f
809 #:phases
810 (modify-phases %standard-phases
811 ;; Source-only package
812 (delete 'build))))
4b6b1a38
LF
813 (propagated-inputs
814 `(("go-github-com-golang-protobuf-proto"
815 ,go-github-com-golang-protobuf-proto)))
816 (synopsis "Data model artifacts for Prometheus")
817 (description "This package provides data model artifacts for Prometheus.")
818 (home-page "https://github.com/prometheus/client_model")
819 (license asl2.0))))
1da227b0
LF
820
821(define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil
822 (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c")
823 (revision "0"))
824 (package
825 (name "go-github-com-matttproud-golang-protobuf-extensions-pbutil")
826 (version (git-version "1.0.0" revision commit))
827 (source
828 (origin
829 (method git-fetch)
830 (uri
831 (git-reference
832 (url "https://github.com/matttproud/golang_protobuf_extensions.git")
833 (commit commit)))
834 (file-name (git-file-name name version))
835 (sha256
836 (base32
837 "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"))))
838 (build-system go-build-system)
839 (arguments
840 '(#:import-path "github.com/matttproud/golang_protobuf_extensions/pbutil"
841 #:unpack-path "github.com/matttproud/golang_protobuf_extensions"))
842 (propagated-inputs
843 `(("go-github-com-golang-protobuf-proto"
844 ,go-github-com-golang-protobuf-proto)))
845 (synopsis "Streaming Protocol Buffers in Go")
846 (description "This package provides various Protocol Buffer
847extensions for the Go language, namely support for record length-delimited
848message streaming.")
849 (home-page "https://github.com/matttproud/golang_protobuf_extensions")
850 (license asl2.0))))
270590bd 851
491d07cc 852(define-public go-github-com-prometheus-common
270590bd 853 (package
491d07cc 854 (name "go-github-com-prometheus-common")
20470893 855 (version "0.4.1")
270590bd
LF
856 (source (origin
857 (method git-fetch)
858 (uri (git-reference
859 (url "https://github.com/prometheus/common.git")
20470893 860 (commit (string-append "v" version))))
270590bd
LF
861 (file-name (git-file-name name version))
862 (sha256
863 (base32
20470893 864 "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s"))))
270590bd
LF
865 (build-system go-build-system)
866 (arguments
491d07cc
LF
867 '(#:import-path "github.com/prometheus/common"
868 #:tests? #f
270590bd
LF
869 #:phases
870 (modify-phases %standard-phases
871 (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
872 (lambda* (#:key outputs #:allow-other-keys)
873 (map (lambda (file)
874 (make-file-writable file))
875 (find-files
876 (string-append (assoc-ref outputs "out")
877 "/src/github.com/prometheus/common/expfmt/testdata/")
878 ".*\\.gz$"))
46a37b59 879 #t))
491d07cc
LF
880 ;; Source-only package
881 (delete 'build))))
270590bd
LF
882 (propagated-inputs
883 `(("go-github-com-golang-protobuf-proto"
884 ,go-github-com-golang-protobuf-proto)
885 ("go-github-com-matttproud-golang-protobuf-extensions-pbutil"
886 ,go-github-com-matttproud-golang-protobuf-extensions-pbutil)
491d07cc
LF
887 ("go-github-com-prometheus-client-model"
888 ,go-github-com-prometheus-client-model)))
270590bd
LF
889 (synopsis "Prometheus metrics")
890 (description "This package provides tools for reading and writing
891Prometheus metrics.")
892 (home-page "https://github.com/prometheus/common")
20470893 893 (license asl2.0)))
13dca4a5
LF
894
895(define-public go-github-com-prometheus-procfs
13dca4a5
LF
896 (package
897 (name "go-github-com-prometheus-procfs")
2cdfaa02 898 (version "0.0.3")
13dca4a5
LF
899 (source (origin
900 (method git-fetch)
901 (uri (git-reference
902 (url "https://github.com/prometheus/procfs.git")
2cdfaa02 903 (commit (string-append "v" version))))
13dca4a5
LF
904 (file-name (git-file-name name version))
905 (sha256
906 (base32
2cdfaa02 907 "18c4m795fwng8f8qa395f3crvamlbk5y5afk8b5rzyisnmjq774y"))))
13dca4a5
LF
908 (build-system go-build-system)
909 (arguments
2cdfaa02
LF
910 '(#:import-path "github.com/prometheus/procfs"
911 ;; The tests require Go modules, which are not yet supported in Guix's
912 ;; Go build system.
913 #:tests? #f))
13dca4a5 914 (synopsis "Go library for reading @file{/proc}")
3bd840e4
TGR
915 (description "The @code{procfs} Go package provides functions to retrieve
916system, kernel, and process metrics from the @file{/proc} pseudo file system.")
13dca4a5 917 (home-page "https://github.com/prometheus/procfs")
2cdfaa02 918 (license asl2.0)))
bfbe868d 919
491d07cc 920(define-public go-github-com-prometheus-client-golang
bfbe868d 921 (package
491d07cc 922 (name "go-github-com-prometheus-client-golang")
8629d8ed 923 (version "0.9.4")
bfbe868d
LF
924 (source (origin
925 (method git-fetch)
926 (uri (git-reference
927 (url "https://github.com/prometheus/client_golang.git")
94b1e5e0 928 (commit (string-append "v" version))))
bfbe868d
LF
929 (file-name (git-file-name name version))
930 (sha256
931 (base32
8629d8ed 932 "0s134fj4i7k6pxdmxwkdi7amb1882yq33spv15hg3pkpbd3h311p"))))
bfbe868d
LF
933 (build-system go-build-system)
934 (arguments
491d07cc
LF
935 '(#:tests? #f
936 #:import-path "github.com/prometheus/client_golang"
937 #:phases
938 (modify-phases %standard-phases
939 ;; Source-only package
940 (delete 'build))))
bfbe868d
LF
941 (propagated-inputs
942 `(("go-github-com-beorn7-perks-quantile"
943 ,go-github-com-beorn7-perks-quantile)
944 ("go-github-com-golang-protobuf-proto"
945 ,go-github-com-golang-protobuf-proto)
491d07cc
LF
946 ("go-github-com-prometheus-client-model"
947 ,go-github-com-prometheus-client-model)
948 ("go-github-com-prometheus-common"
949 ,go-github-com-prometheus-common)
bfbe868d
LF
950 ("go-github-com-prometheus-procfs" ,go-github-com-prometheus-procfs)))
951 (synopsis "HTTP server and client tools for Prometheus")
952 (description "This package @code{promhttp} provides HTTP client and
953server tools for Prometheus metrics.")
954 (home-page "https://github.com/prometheus/client_golang")
94b1e5e0 955 (license asl2.0)))
fa22168b 956
712d01bb
LF
957(define-public go-gopkg.in-asn1-ber.v1
958 (package
959 (name "go-gopkg.in-asn1-ber.v1")
960 (version "1.2")
961 (source (origin
962 (method git-fetch)
963 (uri (git-reference
964 (url "https://gopkg.in/asn1-ber.v1")
965 (commit (string-append "v" version))))
966 (file-name (git-file-name name version))
967 (sha256
968 (base32
969 "1y8bvzbxpw0lfnn7pbcdwzqj4l90qj6xf88dvv9pxd9yl5g6cskx"))))
970 (build-system go-build-system)
971 (arguments
66fa8f0f 972 '(#:import-path "gopkg.in/asn1-ber.v1"
9642446c 973 ;; Tests don't pass "vet" on Go since 1.11. See
66fa8f0f
PN
974 ;; https://github.com/go-asn1-ber/asn1-ber/issues/20.
975 #:phases
976 (modify-phases %standard-phases
977 (replace 'check
978 (lambda* (#:key import-path #:allow-other-keys)
979 (invoke "go" "test"
980 "-vet=off"
981 import-path))))))
712d01bb
LF
982 (synopsis "ASN.1 BER encoding and decoding in Go")
983 (description "This package provides ASN.1 BER encoding and decoding in the
984Go language.")
985 (home-page "https://gopkg.in/asn1-ber.v1")
986 (license expat)))
4cb2112d
LF
987
988(define-public go-gopkg.in-ldap.v2
989 (package
990 (name "go-gopkg.in-ldap.v2")
991 (version "2.5.1")
992 (source (origin
993 (method git-fetch)
994 (uri (git-reference
995 (url "https://gopkg.in/ldap.v2")
996 (commit (string-append "v" version))))
997 (file-name (git-file-name name version))
998 (sha256
999 (base32
1000 "1wf81wy04nhkqs0dg5zkivr4sh37r83bxrfwjz9vr4jq6vmljr3h"))))
1001 (build-system go-build-system)
1002 (arguments
1003 '(#:import-path "gopkg.in/ldap.v2"
1004 #:tests? #f)) ; the test suite requires network access
1005 (propagated-inputs
1006 `(("go-gopkg.in-asn1-ber.v1" ,go-gopkg.in-asn1-ber.v1)))
1007 (synopsis "LDAP v3 functionality for Go")
1008 (description "This package provides basic LDAP v3 functionality in the Go
1009language.")
1010 (home-page "https://gopkg.in/ldap.v2")
1011 (license expat)))
7dc89dc6
LF
1012
1013(define-public go-github-com-flynn-archive-go-shlex
1014 (let ((commit "3f9db97f856818214da2e1057f8ad84803971cff")
1015 (revision "0"))
1016 (package
1017 (name "go-github-com-flynn-archive-go-shlex")
1018 (version (git-version "0.0.0" revision commit))
1019 (source (origin
1020 (method git-fetch)
1021 (uri (git-reference
1022 (url "https://github.com/flynn-archive/go-shlex.git")
1023 (commit commit)))
1024 (file-name (git-file-name name version))
1025 (sha256
1026 (base32
1027 "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia"))))
1028 (build-system go-build-system)
1029 (arguments
1030 '(#:import-path "github.com/flynn-archive/go-shlex"))
1031 (synopsis "Go lexer")
1032 (description "Shlex is a simple lexer for go that supports shell-style
1033quoting, commenting, and escaping.")
1034 (home-page "https://github.com/flynn-archive/go-shlex")
1035 (license asl2.0))))
9d81bab8 1036
7cb9c4e2
LF
1037(define-public go-github-com-audriusbutkevicius-pfilter
1038 (let ((commit "c55ef6137fc6f075801eac099cc2687ede0f101d")
1039 (revision "3"))
1040 (package
1041 (name "go-github-com-audriusbutkevicius-pfilter")
1042 (version (git-version "0.0.0" revision commit))
1043 (source
1044 (origin
1045 (method git-fetch)
1046 (uri (git-reference
1047 (url "https://github.com/AudriusButkevicius/pfilter.git")
1048 (commit commit)))
1049 (file-name (git-file-name name version))
1050 (sha256
1051 (base32
1052 "0xzhwyd0w21bhvzl5pinn22hp0y6h44rh3s2ppql69rafc6zd3c6"))))
1053 (build-system go-build-system)
1054 (arguments
1055 '(#:import-path "github.com/AudriusButkevicius/pfilter"))
90c40ea2 1056 (synopsis "Filter packets into multiple virtual connections")
7cb9c4e2
LF
1057 (description "Pfilter is a Go package for filtering packets into multiple
1058virtual connections from a single physical connection.")
1059 (home-page "https://github.com/AudriusButkevicius/pfilter")
1060 (license expat))))
48e1cbdf
LF
1061
1062(define-public go-github-com-ccding-go-stun
1063 (let ((commit "be486d185f3dfcb2dbf8429332da50a0da7f95a6")
1064 (revision "2"))
1065 (package
1066 (name "go-github-com-ccding-go-stun")
1067 (version (git-version "0.0.0" revision commit))
1068 (source
1069 (origin
1070 (method git-fetch)
1071 (uri (git-reference
1072 (url "https://github.com/ccding/go-stun.git")
1073 (commit commit)))
1074 (file-name (git-file-name name version))
1075 (sha256
1076 (base32
1077 "1gr0rw1c1y7wh6913lyn5k4ig023by27i36bly6am8dwgrgp34ww"))))
1078 (build-system go-build-system)
1079 (arguments
1080 '(#:import-path "github.com/ccding/go-stun"))
1081 (synopsis "STUN client implementation")
1082 (description "Go-stun is a go implementation of the STUN client (RFC 3489
1083and RFC 5389).")
1084 (home-page "https://github.com/ccding/go-stun")
1085 (license asl2.0))))