2017-10-11 04:38:22 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2016 Petter <petter@mykolab.ch>
|
2019-04-02 16:45:23 +00:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Leo Famulari <leo@famulari.name>
|
2017-10-11 04:38:22 +00:00
|
|
|
;;;
|
|
|
|
;;; 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 syncthing)
|
|
|
|
#:use-module (guix build-system go)
|
2017-10-12 00:24:56 +00:00
|
|
|
#:use-module (guix build-system trivial)
|
2017-10-11 04:38:22 +00:00
|
|
|
#:use-module (guix packages)
|
2017-10-12 00:29:24 +00:00
|
|
|
#:use-module (guix download)
|
2017-10-11 04:38:22 +00:00
|
|
|
#:use-module (guix git-download)
|
gnu: Move the Go standard libraries to (gnu packages golang).
* gnu/packages/syncthing.scm (go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf,
go-golang-org-x-net-context, go-golang-org-x-net-internal-iana,
go-golang-org-x-net-ipv6, go-golang-org-x-net-proxy, go-golang-org-x-sys-unix,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-time-rate): Move these packages ...
* gnu/packages/golang.scm: ... to here.
2018-04-17 20:53:23 +00:00
|
|
|
#:use-module (guix licenses)
|
2018-07-12 15:23:24 +00:00
|
|
|
#:use-module (gnu packages)
|
gnu: Move the Go standard libraries to (gnu packages golang).
* gnu/packages/syncthing.scm (go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf,
go-golang-org-x-net-context, go-golang-org-x-net-internal-iana,
go-golang-org-x-net-ipv6, go-golang-org-x-net-proxy, go-golang-org-x-sys-unix,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-time-rate): Move these packages ...
* gnu/packages/golang.scm: ... to here.
2018-04-17 20:53:23 +00:00
|
|
|
#:use-module (gnu packages golang))
|
2017-10-11 04:38:22 +00:00
|
|
|
|
2017-10-12 00:29:24 +00:00
|
|
|
(define-public syncthing
|
|
|
|
(package
|
|
|
|
(name "syncthing")
|
2019-09-03 01:03:52 +00:00
|
|
|
(version "1.2.2")
|
2017-10-12 00:29:24 +00:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/syncthing/syncthing"
|
|
|
|
"/releases/download/v" version
|
|
|
|
"/syncthing-source-v" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-09-03 01:03:52 +00:00
|
|
|
"1wdjh8xw09s1nfkpc95v04619gqa4dpbygp2y5l35ww4g916lv3s"))
|
2019-03-13 16:54:28 +00:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
;; Delete bundled ("vendored") free software source code.
|
|
|
|
(snippet '(begin
|
|
|
|
(delete-file-recursively "vendor")
|
|
|
|
#t))))
|
2017-10-12 00:29:24 +00:00
|
|
|
(build-system go-build-system)
|
2017-10-24 15:56:37 +00:00
|
|
|
;; The primary Syncthing executable goes to "out", while the auxiliary
|
|
|
|
;; server programs and utility tools go to "utils". This reduces the size
|
|
|
|
;; of "out" by ~80 MiB.
|
|
|
|
(outputs '("out" "utils"))
|
2019-03-13 16:54:28 +00:00
|
|
|
;; When updating Syncthing, check 'go.mod' in the source distribution to
|
|
|
|
;; ensure we are using the correct versions of these dependencies.
|
|
|
|
(inputs
|
|
|
|
`(("go-github-com-audriusbutkevicius-go-nat-pmp"
|
|
|
|
,go-github-com-audriusbutkevicius-go-nat-pmp)
|
|
|
|
("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4)
|
|
|
|
("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr)
|
|
|
|
("go-github-com-chmduquesne-rollinghash"
|
|
|
|
,go-github-com-chmduquesne-rollinghash)
|
|
|
|
("go-github-com-gobwas-glob" ,go-github-com-gobwas-glob)
|
|
|
|
("go-github-com-golang-groupcache-lru"
|
|
|
|
,go-github-com-golang-groupcache-lru)
|
|
|
|
("go-github-com-jackpal-gateway" ,go-github-com-jackpal-gateway)
|
|
|
|
("go-github-com-kballard-go-shellquote"
|
|
|
|
,go-github-com-kballard-go-shellquote)
|
|
|
|
("go-github-com-lib-pq" ,go-github-com-lib-pq)
|
|
|
|
("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
|
|
|
|
("go-github-com-oschwald-geoip2-golang"
|
|
|
|
,go-github-com-oschwald-geoip2-golang)
|
|
|
|
("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
|
|
|
|
("go-github-com-rcrowley-go-metrics" ,go-github-com-rcrowley-go-metrics)
|
|
|
|
("go-github-com-sasha-s-go-deadlock" ,go-github-com-sasha-s-go-deadlock)
|
|
|
|
("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify)
|
|
|
|
("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb)
|
|
|
|
("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture)
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
("go-golang-org-x-time" ,go-golang-org-x-time)
|
2019-03-13 16:54:28 +00:00
|
|
|
("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2)
|
|
|
|
("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf)
|
2019-09-03 01:03:52 +00:00
|
|
|
("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil)
|
2019-10-17 17:51:26 +00:00
|
|
|
("go-github-com-prometheus-client-golang"
|
|
|
|
,go-github-com-prometheus-client-golang)
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
("go-golang-org-x-net" ,go-golang-org-x-net)
|
|
|
|
("go-golang-org-x-text" ,go-golang-org-x-text)
|
2019-03-13 16:54:28 +00:00
|
|
|
("go-github-com-audriusbutkevicius-recli"
|
|
|
|
,go-github-com-audriusbutkevicius-recli)
|
|
|
|
("go-github-com-urfave-cli" ,go-github-com-urfave-cli)
|
2019-08-20 19:24:53 +00:00
|
|
|
("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart)
|
2019-03-13 16:54:28 +00:00
|
|
|
("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
|
2019-07-24 16:17:37 +00:00
|
|
|
("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
|
2019-03-13 16:54:28 +00:00
|
|
|
("go-github-com-flynn-archive-go-shlex"
|
|
|
|
,go-github-com-flynn-archive-go-shlex)
|
2019-07-24 16:17:37 +00:00
|
|
|
("go-github-com-getsentry-raven-go" ,go-github-com-getsentry-raven-go)
|
|
|
|
("go-github-com-maruel-panicparse" ,go-github-com-maruel-panicparse)
|
|
|
|
("go-github-com-ccding-go-stun" ,go-github-com-ccding-go-stun)
|
|
|
|
("go-github-com-audriusbutkevicius-pfilter" ,go-github-com-audriusbutkevicius-pfilter)
|
|
|
|
("go-github-com-lucas-clemente-quic-go" ,go-github-com-lucas-clemente-quic-go)
|
2019-03-13 16:54:28 +00:00
|
|
|
|
|
|
|
;; For tests
|
|
|
|
("go-github-com-d4l3k-messagediff" ,go-github-com-d4l3k-messagediff)))
|
|
|
|
|
2017-10-12 00:29:24 +00:00
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/syncthing/syncthing"
|
2017-10-24 16:18:24 +00:00
|
|
|
;; We don't need to install the source code for end-user applications.
|
|
|
|
#:install-source? #f
|
2017-10-12 00:29:24 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'increase-test-timeout
|
|
|
|
(lambda _
|
|
|
|
(substitute* "src/github.com/syncthing/syncthing/build.go"
|
2018-09-29 21:21:20 +00:00
|
|
|
(("120s") "999s"))
|
2017-10-12 00:29:24 +00:00
|
|
|
#t))
|
|
|
|
|
|
|
|
(replace 'build
|
2018-12-05 01:19:50 +00:00
|
|
|
(lambda _
|
2017-10-12 00:29:24 +00:00
|
|
|
(with-directory-excursion "src/github.com/syncthing/syncthing"
|
2018-08-19 21:43:12 +00:00
|
|
|
(invoke "go" "run" "build.go" "-no-upgrade"))))
|
2017-10-12 00:29:24 +00:00
|
|
|
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(with-directory-excursion "src/github.com/syncthing/syncthing"
|
2018-08-19 21:43:12 +00:00
|
|
|
(invoke "go" "run" "build.go" "test"))))
|
2017-10-12 00:29:24 +00:00
|
|
|
|
|
|
|
(replace 'install
|
2017-10-24 15:56:37 +00:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(utils (assoc-ref outputs "utils"))
|
|
|
|
(src "src/github.com/syncthing/syncthing/bin/"))
|
|
|
|
(install-file (string-append src "/syncthing")
|
|
|
|
(string-append out "/bin"))
|
|
|
|
(delete-file (string-append src "/syncthing"))
|
|
|
|
(copy-recursively "src/github.com/syncthing/syncthing/bin/"
|
|
|
|
(string-append utils "/bin"))
|
|
|
|
#t)))
|
2017-10-12 00:29:24 +00:00
|
|
|
|
|
|
|
(add-after 'install 'install-docs
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2017-10-24 15:56:37 +00:00
|
|
|
(utils (assoc-ref outputs "utils"))
|
|
|
|
(man "/share/man")
|
|
|
|
(man-section (string-append man "/man"))
|
2017-10-12 00:29:24 +00:00
|
|
|
(src "src/github.com/syncthing/syncthing/man/"))
|
2017-10-24 15:56:37 +00:00
|
|
|
;; Install all the man pages to "out".
|
2017-10-12 00:29:24 +00:00
|
|
|
(for-each
|
|
|
|
(lambda (file)
|
|
|
|
(install-file file
|
2017-10-24 15:56:37 +00:00
|
|
|
(string-append out man-section
|
|
|
|
(string-take-right file 1))))
|
2017-10-12 00:29:24 +00:00
|
|
|
(find-files src "\\.[1-9]"))
|
2017-10-24 15:56:37 +00:00
|
|
|
;; Copy all the man pages to "utils"
|
|
|
|
(copy-recursively (string-append out man)
|
|
|
|
(string-append utils man))
|
|
|
|
;; Delete extraneous man pages from "out" and "utils",
|
|
|
|
;; respectively.
|
|
|
|
(delete-file (string-append out man "/man1/stdiscosrv.1"))
|
|
|
|
(delete-file (string-append out man "/man1/strelaysrv.1"))
|
|
|
|
(delete-file (string-append utils man "/man1/syncthing.1"))
|
2017-10-12 00:29:24 +00:00
|
|
|
#t))))))
|
2018-01-19 15:25:13 +00:00
|
|
|
(synopsis "Decentralized continuous file system synchronization")
|
2017-10-12 00:29:24 +00:00
|
|
|
(description "Syncthing is a peer-to-peer file synchronization tool that
|
|
|
|
supports a wide variety of computing platforms. It uses the Block Exchange
|
|
|
|
Protocol.")
|
|
|
|
(home-page "https://github.com/syncthing/syncthing")
|
|
|
|
(license mpl2.0)))
|
|
|
|
|
2017-10-11 04:38:22 +00:00
|
|
|
(define-public go-github-com-audriusbutkevicius-go-nat-pmp
|
|
|
|
(let ((commit "452c97607362b2ab5a7839b8d1704f0396b640ca")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-audriusbutkevicius-go-nat-pmp")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/AudriusButkevicius/go-nat-pmp")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1accmpl1llk16a19nlyy991fqrgfay6l53gb64hgmdfmqljdvbk7"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/AudriusButkevicius/go-nat-pmp"))
|
|
|
|
(synopsis "Port mapping and discovery of external IP address")
|
2019-05-22 22:32:43 +00:00
|
|
|
(description "This package provides a Go client for the NAT-PMP internet
|
2017-10-11 04:38:22 +00:00
|
|
|
protocol for port mapping and discovering the external IP address of a
|
|
|
|
firewall.")
|
|
|
|
(home-page "https://github.com/AudriusButkevicius/go-nat-pmp")
|
|
|
|
(license asl2.0))))
|
2017-10-11 04:43:08 +00:00
|
|
|
|
2019-03-13 16:43:27 +00:00
|
|
|
(define-public go-github-com-audriusbutkevicius-recli
|
|
|
|
(package
|
|
|
|
(name "go-github-com-audriusbutkevicius-recli")
|
|
|
|
(version "0.0.5")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/AudriusButkevicius/recli")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
|
|
|
|
("go-github-com-urfave-cli" ,go-github-com-urfave-cli)))
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/AudriusButkevicius/recli"))
|
|
|
|
(synopsis "Reflection-based CLI generator")
|
|
|
|
(description "For a given struct, @code{recli} builds a set of
|
|
|
|
@code{urfave/cli} commands which allows you to modify it from the command line.
|
|
|
|
It is useful for generating command line clients for your application
|
|
|
|
configuration that is stored in a Go struct.")
|
|
|
|
(home-page "https://github.com/AudriusButkevicius/recli")
|
|
|
|
(license mpl2.0)))
|
|
|
|
|
2017-10-11 04:43:08 +00:00
|
|
|
(define-public go-github-com-bkaradzic-go-lz4
|
|
|
|
(let ((commit "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-bkaradzic-go-lz4")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/bkaradzic/go-lz4")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/bkaradzic/go-lz4"))
|
|
|
|
(synopsis "LZ4 compression algorithm")
|
|
|
|
(description "This package provides @code{go-lz4}, a Go implementation of
|
|
|
|
the LZ4 compression algorithm.")
|
|
|
|
(home-page "https://github.com/bkaradzic/go-lz4")
|
|
|
|
(license bsd-2))))
|
2017-10-11 04:45:46 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-calmh-du
|
|
|
|
(package
|
|
|
|
(name "go-github-com-calmh-du")
|
|
|
|
(version "1.0.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/calmh/du")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/calmh/du"))
|
|
|
|
(synopsis "Get total and available disk space of a given volume")
|
|
|
|
(description "This is a Go implementation of `du`. It provides disk usage
|
|
|
|
information, such as how much storage space is available, free, and used.")
|
|
|
|
(home-page "https://github.com/calmh/du")
|
|
|
|
(license public-domain)))
|
2017-10-11 04:47:11 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-calmh-xdr
|
2019-03-13 21:26:19 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-calmh-xdr")
|
|
|
|
(version "1.1.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/calmh/xdr")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/calmh/xdr"))
|
|
|
|
(synopsis "XDR marshalling and unmarshalling")
|
|
|
|
(description "XDR is an External Data Representation (XDR)
|
2017-10-11 04:47:11 +00:00
|
|
|
marshalling and unmarshalling library in Go. It uses code generation and not
|
|
|
|
reflection.")
|
2019-03-13 21:26:19 +00:00
|
|
|
(home-page "https://github.com/calmh/xdr")
|
|
|
|
(license expat)))
|
2017-10-11 04:47:45 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-d4l3k-messagediff
|
2019-03-06 20:32:17 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-d4l3k-messagediff")
|
|
|
|
(version "1.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/d4l3k/messagediff")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/d4l3k/messagediff"))
|
|
|
|
(synopsis "Diff arbitrary Go structs")
|
|
|
|
(description "Messagediff is a library for calculating diffs of arbitrary
|
2017-10-11 04:47:45 +00:00
|
|
|
structs in the Go programming language.")
|
2019-03-06 20:32:17 +00:00
|
|
|
(home-page "https://github.com/d4l3k/messagediff")
|
|
|
|
(license expat)))
|
2017-10-11 04:48:55 +00:00
|
|
|
|
2017-10-11 04:50:01 +00:00
|
|
|
(define-public go-github-com-gobwas-glob
|
|
|
|
(let ((commit "51eb1ee00b6d931c66d229ceeb7c31b985563420")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-gobwas-glob")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/gobwas/glob")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"090wzpwsjana1qas8ipwh1pj959gvc4b7vwybzi01f3bmd79jwlp"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/gobwas/glob"))
|
|
|
|
(synopsis "Go globbing library")
|
2019-05-22 22:34:02 +00:00
|
|
|
(description "This package provides a Go implementation of globs.")
|
2017-10-11 04:50:01 +00:00
|
|
|
(home-page "https://github.com/gobwas/glob")
|
|
|
|
(license expat))))
|
2017-10-11 04:50:55 +00:00
|
|
|
|
2017-10-11 04:54:56 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-golang-groupcache-lru
|
2017-12-30 21:50:08 +00:00
|
|
|
(let ((commit "84a468cf14b4376def5d68c722b139b881c450a4")
|
|
|
|
(revision "1"))
|
2017-10-11 04:54:56 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-golang-groupcache-lru")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/golang/groupcache")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-30 21:50:08 +00:00
|
|
|
"1ky1r9qh54yi9zp2769qrjngzndgd8fn7mja2qfac285n06chmcn"))))
|
2017-10-11 04:54:56 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/golang/groupcache/lru"
|
|
|
|
#:unpack-path "github.com/golang/groupcache"))
|
|
|
|
(synopsis "Groupcache is a caching and cache-filling library")
|
|
|
|
(description "Groupcache is a caching and cache-filling library, intended
|
|
|
|
as a replacement for memcached in many cases. It provides a data loading
|
|
|
|
mechanism with caching and de-duplication that works across a set of peer
|
|
|
|
processes.")
|
|
|
|
(home-page "https://github.com/golang/groupcache")
|
|
|
|
(license asl2.0))))
|
2017-10-11 04:55:35 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-golang-snappy
|
|
|
|
(let ((commit "553a641470496b2327abcac10b36396bd98e45c9")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-golang-snappy")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/golang/snappy")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0kssxnih1l722hx9219c7javganjqkqhvl3i0hp0hif6xm6chvqk"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/golang/snappy"))
|
|
|
|
(synopsis "Snappy compression format in the Go programming language")
|
|
|
|
(description "This package provides a Go implementation of the Snappy
|
|
|
|
compression format.")
|
|
|
|
(home-page "https://github.com/golang/snappy")
|
|
|
|
(license bsd-3))))
|
2017-10-11 04:57:03 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-jackpal-gateway
|
|
|
|
(let ((commit "5795ac81146e01d3fab7bcf21c043c3d6a32b006")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-jackpal-gateway")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/jackpal/gateway")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0fkwkwmhfadwk3cha8616bhqxfkr9gjjnynhhxyldlphixgs3f25"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/jackpal/gateway"))
|
|
|
|
(synopsis "Discover the address of a LAN gateway")
|
|
|
|
(description "@code{gateway} is a Go library for discovering the IP
|
|
|
|
address of the default LAN gateway.")
|
|
|
|
(home-page "https://github.com/jackpal/gateway")
|
|
|
|
(license bsd-3))))
|
2017-10-11 04:57:47 +00:00
|
|
|
|
2017-10-11 04:58:18 +00:00
|
|
|
(define-public go-github-com-lib-pq
|
2019-03-06 20:50:44 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-lib-pq")
|
2019-08-12 04:19:34 +00:00
|
|
|
(version "1.2.0")
|
2019-03-06 20:50:44 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/lib/pq")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-08-12 04:19:34 +00:00
|
|
|
"08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz"))))
|
2019-03-06 20:50:44 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/lib/pq"
|
|
|
|
;; The tests seem to fail without access to the network or a running
|
|
|
|
;; Postgres instance.
|
|
|
|
#:tests? #f))
|
|
|
|
(synopsis "Golang Postgres driver for Go's database/sql")
|
2019-05-22 22:34:59 +00:00
|
|
|
(description "This package provides a pure Go Postgres driver for Go's
|
2017-10-11 04:58:18 +00:00
|
|
|
database/sql package.")
|
2019-03-06 20:50:44 +00:00
|
|
|
(home-page "https://github.com/lib/pq")
|
|
|
|
(license expat)))
|
2017-10-11 04:58:57 +00:00
|
|
|
|
2017-10-11 05:08:54 +00:00
|
|
|
(define-public go-github-com-oschwald-geoip2-golang
|
2017-12-30 22:09:06 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-oschwald-geoip2-golang")
|
2019-06-04 17:25:42 +00:00
|
|
|
(version "1.3.0")
|
2017-12-30 22:09:06 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/oschwald/geoip2-golang")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-06-04 17:25:42 +00:00
|
|
|
"0jivzl15jb8n16rm1b2w97kf7vna5dd3kcz865wfi233qay075j2"))))
|
2017-12-30 22:09:06 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-oschwald-maxminddb-golang"
|
|
|
|
,go-github-com-oschwald-maxminddb-golang)
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
("go-golang-org-x-sys" ,go-golang-org-x-sys)))
|
2017-12-30 22:09:06 +00:00
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/oschwald/geoip2-golang"
|
|
|
|
#:tests? #f)) ; Requires some unpackaged software and test data
|
|
|
|
(synopsis "MaxMind GeoIP2 reader")
|
2019-05-22 22:35:58 +00:00
|
|
|
(description "This package provides a library for reading MaxMind
|
2017-10-11 05:08:54 +00:00
|
|
|
GeoLite2 and GeoIP2 databases in Go.")
|
2017-12-30 22:09:06 +00:00
|
|
|
(home-page "https://github.com/oschwald/geoip2-golang")
|
|
|
|
(license isc)))
|
2017-10-11 05:08:54 +00:00
|
|
|
|
2017-10-11 05:08:22 +00:00
|
|
|
(define-public go-github-com-oschwald-maxminddb-golang
|
2017-12-30 22:10:37 +00:00
|
|
|
(let ((commit "26fe5ace1c706491c2936119e1dc69c1a9c04d7f")
|
2017-10-11 05:08:22 +00:00
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-oschwald-maxminddb-golang")
|
2017-12-30 22:10:37 +00:00
|
|
|
(version (git-version "1.2.0" revision commit))
|
2017-10-11 05:08:22 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/oschwald/maxminddb-golang")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-30 22:10:37 +00:00
|
|
|
"1i6d935f3cv9djpjvc2ibh8aps8jqvg454b9pkwg2h98al759ggk"))))
|
2017-10-11 05:08:22 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(propagated-inputs
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
`(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
|
2017-10-11 05:08:22 +00:00
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/oschwald/maxminddb-golang"
|
|
|
|
#:tests? #f)) ; Requires some unpackaged software and test data
|
|
|
|
(synopsis "MaxMind DB Reader for Go")
|
|
|
|
(description "This is a Go reader for the MaxMind DB format. Although
|
|
|
|
this can be used to read GeoLite2 and GeoIP2 databases, @code{geoip2} provides a
|
|
|
|
higher-level API for doing so.")
|
|
|
|
(home-page "https://github.com/oschwald/maxminddb-golang")
|
|
|
|
(license isc))))
|
|
|
|
|
2017-10-11 05:13:05 +00:00
|
|
|
(define-public go-github-com-stathat-go
|
|
|
|
(let ((commit "74669b9f388d9d788c97399a0824adbfee78400e")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-stathat-go")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/stathat/go")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1zzlsl24dyr202qkr2pay22m6d0gb7ssms77wgdx0r0clgm7dihw"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/stathat/go"))
|
|
|
|
(synopsis "Post statistics to StatHat")
|
|
|
|
(description "This is a Go package for posting to a StatHat account.")
|
|
|
|
(home-page "https://github.com/stathat/go")
|
|
|
|
(license expat))))
|
|
|
|
|
2017-10-12 03:35:38 +00:00
|
|
|
(define-public go-github-com-rcrowley-go-metrics
|
2017-12-30 22:22:06 +00:00
|
|
|
(let ((commit "e181e095bae94582363434144c61a9653aff6e50")
|
|
|
|
(revision "1"))
|
2017-10-12 03:35:38 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-rcrowley-go-metrics")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/rcrowley/go-metrics")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-12-30 22:22:06 +00:00
|
|
|
"1pwkyw801hy7n94skzk6h177zqcil6ayrmb5gs3jdpsfayh8ia5w"))))
|
2017-10-12 03:35:38 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/rcrowley/go-metrics"))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-stathat-go" ,go-github-com-stathat-go)))
|
|
|
|
(synopsis "Go port of Coda Hale's Metrics library")
|
|
|
|
(description "This package provides a Go implementation of Coda Hale's
|
|
|
|
Metrics library.")
|
|
|
|
(home-page "https://github.com/rcrowley/go-metrics")
|
|
|
|
(license bsd-2))))
|
|
|
|
|
2017-10-11 05:12:27 +00:00
|
|
|
(define-public go-github-com-sasha-s-go-deadlock
|
2019-03-06 20:44:03 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-sasha-s-go-deadlock")
|
|
|
|
(version "0.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/sasha-s/go-deadlock")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"13p7b7pakd9k1c2k0fs1hfim3c8mivz679977ai6zb01s4aw7gyg"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/sasha-s/go-deadlock"))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-petermattis-goid" ,go-github-com-petermattis-goid)))
|
|
|
|
(synopsis "Deadlock detection in go")
|
|
|
|
(description "This package provides tools for detecting deadlocks at
|
2017-10-11 05:12:27 +00:00
|
|
|
run-time in Go.")
|
2019-03-06 20:44:03 +00:00
|
|
|
(home-page "https://github.com/sasha-s/go-deadlock")
|
|
|
|
(license asl2.0)))
|
2017-10-11 05:12:27 +00:00
|
|
|
|
2017-10-11 23:57:10 +00:00
|
|
|
(define-public go-github-com-syndtr-goleveldb
|
2019-07-17 18:08:36 +00:00
|
|
|
(let ((commit "c3a204f8e96543bb0cc090385c001078f184fc46")
|
|
|
|
(revision "3"))
|
2017-10-11 23:57:10 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-syndtr-goleveldb")
|
2019-07-17 18:08:36 +00:00
|
|
|
(version (git-version "1.0.1" revision commit))
|
2017-10-11 23:57:10 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/syndtr/goleveldb")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-17 18:08:36 +00:00
|
|
|
"18cac90dim2z5g28vazzibxa058q2ynihsmf0vbscwzba6l5s5ms"))))
|
2017-10-11 23:57:10 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-golang-snappy" ,go-github-com-golang-snappy)))
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/syndtr/goleveldb/leveldb"
|
|
|
|
#:unpack-path "github.com/syndtr/goleveldb"
|
|
|
|
#:tests? #f)) ; XXX needs 'github.com/onsi/gomega' package
|
|
|
|
(synopsis "LevelDB key/value database")
|
|
|
|
(description "This is an implementation of the LevelDB key / value
|
|
|
|
database in Go.")
|
|
|
|
(home-page "https://github.com/syndtr/goleveldb")
|
|
|
|
(license bsd-2))))
|
|
|
|
|
2017-10-11 23:58:37 +00:00
|
|
|
(define-public go-github-com-thejerf-suture
|
2019-03-06 20:47:17 +00:00
|
|
|
(package
|
|
|
|
(name "go-github-com-thejerf-suture")
|
|
|
|
(version "3.0.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/thejerf/suture")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"03bdrl78jfwk0kw40lj63ga9cxhgccgss8yi9lp5j0m0ml7921gh"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:import-path "github.com/thejerf/suture"))
|
|
|
|
(synopsis "Supervisor trees for Go")
|
|
|
|
(description "Suture provides Erlang-ish supervisor trees for Go.
|
2017-10-11 23:58:37 +00:00
|
|
|
\"Supervisor trees\" -> \"sutree\" -> \"suture\" -> holds your code together
|
|
|
|
when it's trying to die.
|
|
|
|
|
|
|
|
It is intended to deal gracefully with the real failure cases that can occur
|
|
|
|
with supervision trees (such as burning all your CPU time endlessly restarting
|
|
|
|
dead services), while also making no unnecessary demands on the \"service\"
|
|
|
|
code, and providing hooks to perform adequate logging with in a production
|
|
|
|
environment")
|
2019-03-06 20:47:17 +00:00
|
|
|
(home-page "https://github.com/thejerf/suture")
|
|
|
|
(license expat)))
|
2017-10-11 23:58:37 +00:00
|
|
|
|
2019-08-20 19:24:53 +00:00
|
|
|
(define-public go-github-com-vitrun-qart
|
2017-10-11 23:59:26 +00:00
|
|
|
(let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
2019-08-20 19:24:53 +00:00
|
|
|
(name "go-github-com-vitrun-qart")
|
2017-10-11 23:59:26 +00:00
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/vitrun/qart")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (string-append "go-github-com-vitrun-qart-"
|
|
|
|
version "-checkout"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-08-20 19:24:53 +00:00
|
|
|
`(#:import-path "github.com/vitrun/qart"))
|
|
|
|
(synopsis "Create QR codes with an embedded image")
|
2017-10-11 23:59:26 +00:00
|
|
|
(description "This package provides a library for embedding
|
|
|
|
human-meaningful graphics in QR codes. However, instead of scribbling on
|
|
|
|
redundant pieces and relying on error correction to preserve the meaning,
|
|
|
|
@code{qart} engineers the encoded values to create the picture in a code with no
|
2019-08-20 19:24:53 +00:00
|
|
|
inherent errors.")
|
2017-10-12 00:00:59 +00:00
|
|
|
(home-page "https://github.com/vitrun/qart")
|
2017-10-12 00:00:14 +00:00
|
|
|
(license bsd-3))))
|
|
|
|
|
2019-03-13 21:41:13 +00:00
|
|
|
(define-public go-github-com-chmduquesne-rollinghash
|
2019-03-06 20:29:10 +00:00
|
|
|
(let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81")
|
|
|
|
(revision "0"))
|
2017-10-12 00:15:44 +00:00
|
|
|
(package
|
2019-03-13 21:41:13 +00:00
|
|
|
(name "go-github-com-chmduquesne-rollinghash")
|
2019-03-06 20:29:10 +00:00
|
|
|
(version (git-version "4.0.0" revision commit))
|
2017-10-12 00:15:44 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/chmduquesne/rollinghash.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-06 20:29:10 +00:00
|
|
|
"0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr"))))
|
2017-10-12 00:15:44 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-03-13 21:41:13 +00:00
|
|
|
'(#:import-path "github.com/chmduquesne/rollinghash/"))
|
|
|
|
(synopsis "Rolling hashes in Go")
|
|
|
|
(description "This package provides a Go implementation of several rolling
|
|
|
|
hashes.")
|
2017-10-12 00:15:44 +00:00
|
|
|
(home-page "https://github.com/chmduquesne/rollinghash")
|
|
|
|
(license expat))))
|
2017-10-12 00:23:28 +00:00
|
|
|
|
2017-10-11 05:11:37 +00:00
|
|
|
(define-public go-github-com-petermattis-goid
|
|
|
|
(let ((commit "3db12ebb2a599ba4a96bea1c17b61c2f78a40e02")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-petermattis-goid")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/petermattis/goid.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
|
|
|
|
(base32
|
|
|
|
"0z18a3mr72c52g7g94n08gxw0ksnaafbfwdl5p5jav2sffirb0kd"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/petermattis/goid"))
|
|
|
|
(synopsis "Identify the running goroutine")
|
2019-05-22 23:46:54 +00:00
|
|
|
(description "This package offers a method of programmatically retrieving
|
2017-10-11 05:11:37 +00:00
|
|
|
the current goroutine's ID.")
|
|
|
|
(home-page "https://github.com/petermattis/goid")
|
|
|
|
(license asl2.0))))
|
2017-10-12 00:19:56 +00:00
|
|
|
|
2017-10-12 00:20:40 +00:00
|
|
|
(define-public go-github-com-kballard-go-shellquote
|
|
|
|
(let ((commit "cd60e84ee657ff3dc51de0b4f55dd299a3e136f2")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-kballard-go-shellquote")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/kballard/go-shellquote.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1xjpin4jq1zl84dcn96xhjmn9bsfyszf6g9aqyj2dc0xfi6c88y0"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/kballard/go-shellquote"))
|
|
|
|
(synopsis "Shell-style string joins and splits")
|
|
|
|
(description "Shellquote provides utilities for joining/splitting strings
|
|
|
|
using sh's word-splitting rules.")
|
|
|
|
(home-page "https://github.com/kballard/go-shellquote")
|
|
|
|
(license expat))))
|
2017-10-12 00:21:32 +00:00
|
|
|
|
2018-05-01 14:45:59 +00:00
|
|
|
(define-public go-github-com-syncthing-notify
|
2019-08-12 04:19:56 +00:00
|
|
|
(let ((commit "69c7a957d3e261f9744f46b3dd4d608d8480ad90")
|
|
|
|
(revision "5"))
|
2017-11-08 22:05:37 +00:00
|
|
|
(package
|
2018-05-01 14:45:59 +00:00
|
|
|
(name "go-github-com-syncthing-notify")
|
2017-11-08 22:05:37 +00:00
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
2018-05-01 14:45:59 +00:00
|
|
|
(url "https://github.com/syncthing/notify")
|
2017-11-08 22:05:37 +00:00
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-08-12 04:19:56 +00:00
|
|
|
"1mmdzyfnmjabyhbipl4bggw4w5nlxyyjp0d93qd824kj07kmsr1f"))))
|
2017-11-08 22:05:37 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2018-05-01 14:45:59 +00:00
|
|
|
'(#:import-path "github.com/syncthing/notify"))
|
2017-11-08 22:05:37 +00:00
|
|
|
(propagated-inputs
|
gnu: Go standard library 'x' packages: Consolidate.
* gnu/packages/golang.scm (go-golang-org-x-text, go-golang-org-x-sys, go-golang-org-x-net,
go-golang-org-x-time): New variables.
(go-golang.org-x-crypto-ssh-terminal, go-golang-org-x-crypto-bcrypt,
go-golang-org-x-crypto-blowfish, go-golang-org-x-crypto-pbkdf2,
go-golang-org-x-crypto-tea, go-golang-org-x-crypto-salsa20,
go-golang-org-x-crypto-cast5, go-golang-org-x-crypto-twofish,
go-golang-org-x-crypto-xtea, go-golang-org-x-crypto-ed25519,
go-golang-org-x-crypto-ripemd160, go-golang-org-x-crypto-blake2s,
go-golang-org-x-crypto-sha3, go-golang-org-x-text-encoding,
go-golang-org-x-text-transform, go-golang-org-x-text-unicode-norm,
go-golang-org-x-net-ipv4, go-golang-org-x-net-bpf, go-golang-org-x-net-context,
go-golang-org-x-net-internal-socks, go-golang-org-x-net-internal-socket,
go-golang-org-x-net-internal-iana, go-golang-org-x-net-ipv6,
go-golang-org-x-net-proxy, go-golang-org-x-sys-cpu, go-golang-org-x-sys-unix,
go-golang-org-x-time-rate): Remove variables.
(go-github-com-sirupsen-logrus, go-github-com-docker-distribution,
go-github-com-libp2p-go-libp2p-crypto,
go-github-com-multiformats-go-multihash,
go-github-com-libp2p-go-libp2p-peer,
go-github-com-libp2p-go-libp2p-metrics,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multiaddr-net,
go-github-com-mattn-go-isatty, go-github-com-gdamore-encoding,
go-github-com-gdamore-tcell): Adjust accordingly.
* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Likewise.
* gnu/packages/databases.scm (mongo-tools): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise.
* gnu/packages/web.scm (poussetaches): Likewise.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf,
go-github.com-howeyc-gopass): Likewise.
(go-golang.org-x-crypto-ssh-terminal): Remove variable.
* gnu/packages/syncthing.scm (syncthing,
go-github-com-oschwald-geoip2-golang,
go-github-com-oschwald-maxminddb-golang,
go-github-com-syncthing-notify): Adjust accordingly.
* gnu/packages/linux.scm (go-netlink): Likewise.
2019-08-14 18:42:50 +00:00
|
|
|
`(("go-golang-org-x-sys" ,go-golang-org-x-sys)))
|
2018-03-16 03:43:08 +00:00
|
|
|
(synopsis "File system event notification library")
|
2018-01-19 15:25:13 +00:00
|
|
|
(description "This package provides @code{notify}, a file system event
|
2017-11-08 22:05:37 +00:00
|
|
|
notification library in Go.")
|
2018-05-01 14:45:59 +00:00
|
|
|
(home-page "https://github.com/syncthing/notify")
|
2017-11-08 22:05:37 +00:00
|
|
|
(license expat))))
|
2017-12-30 21:06:00 +00:00
|
|
|
|
2018-01-29 00:09:24 +00:00
|
|
|
(define-public go-github-com-beorn7-perks-quantile
|
|
|
|
(let ((commit "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-beorn7-perks-quantile")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/beorn7/perks.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/beorn7/perks/quantile"
|
|
|
|
#:unpack-path "github.com/beorn7/perks"))
|
|
|
|
(synopsis "Compute approximate quantiles over an unbounded data stream")
|
|
|
|
(description "Perks contains the Go package @code{quantile} that computes
|
|
|
|
approximate quantiles over an unbounded data stream within low memory and CPU
|
|
|
|
bounds.")
|
|
|
|
(home-page "https://github.com/beorn7/perks")
|
|
|
|
(license expat))))
|
2018-01-29 00:25:49 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-golang-protobuf-proto
|
|
|
|
(package
|
|
|
|
(name "go-github-com-golang-protobuf-proto")
|
2019-07-24 16:08:51 +00:00
|
|
|
(version "1.3.1")
|
2018-01-29 00:25:49 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/golang/protobuf.git")
|
2019-07-24 16:08:51 +00:00
|
|
|
(commit (string-append "v" version))))
|
2018-01-29 00:25:49 +00:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-24 16:08:51 +00:00
|
|
|
"15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl"))))
|
2018-01-29 00:25:49 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/golang/protobuf/proto"
|
|
|
|
#:unpack-path "github.com/golang/protobuf"
|
|
|
|
#:tests? #f ; requires unpackaged golang.org/x/sync/errgroup
|
|
|
|
))
|
|
|
|
(synopsis "Go support for Protocol Buffers")
|
|
|
|
(description "This package provides Go support for the Protocol Buffers
|
|
|
|
data serialization format.")
|
|
|
|
(home-page "https://github.com/golang/protobuf")
|
2019-07-24 16:08:51 +00:00
|
|
|
(license bsd-3)))
|
2018-01-29 00:33:40 +00:00
|
|
|
|
2019-10-17 17:51:26 +00:00
|
|
|
(define-public go-github-com-prometheus-client-model
|
2019-07-24 16:06:51 +00:00
|
|
|
(let ((commit "fd36f4220a901265f90734c3183c5f0c91daa0b8")
|
|
|
|
(revision "1"))
|
2018-01-29 00:33:40 +00:00
|
|
|
(package
|
2019-10-17 17:51:26 +00:00
|
|
|
(name "go-github-com-prometheus-client-model")
|
2018-01-29 00:33:40 +00:00
|
|
|
(version (git-version "0.0.2" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/prometheus/client_model.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-24 16:06:51 +00:00
|
|
|
"1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5"))))
|
2018-01-29 00:33:40 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-10-17 17:51:26 +00:00
|
|
|
'(#:import-path "github.com/prometheus/client_model"
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Source-only package
|
|
|
|
(delete 'build))))
|
2018-01-29 00:33:40 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-golang-protobuf-proto"
|
|
|
|
,go-github-com-golang-protobuf-proto)))
|
|
|
|
(synopsis "Data model artifacts for Prometheus")
|
|
|
|
(description "This package provides data model artifacts for Prometheus.")
|
|
|
|
(home-page "https://github.com/prometheus/client_model")
|
|
|
|
(license asl2.0))))
|
2018-01-29 00:44:58 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil
|
|
|
|
(let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-matttproud-golang-protobuf-extensions-pbutil")
|
|
|
|
(version (git-version "1.0.0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri
|
|
|
|
(git-reference
|
|
|
|
(url "https://github.com/matttproud/golang_protobuf_extensions.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/matttproud/golang_protobuf_extensions/pbutil"
|
|
|
|
#:unpack-path "github.com/matttproud/golang_protobuf_extensions"))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-golang-protobuf-proto"
|
|
|
|
,go-github-com-golang-protobuf-proto)))
|
|
|
|
(synopsis "Streaming Protocol Buffers in Go")
|
|
|
|
(description "This package provides various Protocol Buffer
|
|
|
|
extensions for the Go language, namely support for record length-delimited
|
|
|
|
message streaming.")
|
|
|
|
(home-page "https://github.com/matttproud/golang_protobuf_extensions")
|
|
|
|
(license asl2.0))))
|
2018-01-29 00:39:06 +00:00
|
|
|
|
2019-10-17 17:51:26 +00:00
|
|
|
(define-public go-github-com-prometheus-common
|
2018-01-29 00:39:06 +00:00
|
|
|
(package
|
2019-10-17 17:51:26 +00:00
|
|
|
(name "go-github-com-prometheus-common")
|
2019-07-24 16:14:46 +00:00
|
|
|
(version "0.4.1")
|
2018-01-29 00:39:06 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/prometheus/common.git")
|
2019-07-24 16:14:46 +00:00
|
|
|
(commit (string-append "v" version))))
|
2018-01-29 00:39:06 +00:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-24 16:14:46 +00:00
|
|
|
"0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s"))))
|
2018-01-29 00:39:06 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-10-17 17:51:26 +00:00
|
|
|
'(#:import-path "github.com/prometheus/common"
|
|
|
|
#:tests? #f
|
2018-01-29 00:39:06 +00:00
|
|
|
#: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
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
"/src/github.com/prometheus/common/expfmt/testdata/")
|
|
|
|
".*\\.gz$"))
|
2018-11-06 17:09:16 +00:00
|
|
|
#t))
|
2019-10-17 17:51:26 +00:00
|
|
|
;; Source-only package
|
|
|
|
(delete 'build))))
|
2018-01-29 00:39:06 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-golang-protobuf-proto"
|
|
|
|
,go-github-com-golang-protobuf-proto)
|
|
|
|
("go-github-com-matttproud-golang-protobuf-extensions-pbutil"
|
|
|
|
,go-github-com-matttproud-golang-protobuf-extensions-pbutil)
|
2019-10-17 17:51:26 +00:00
|
|
|
("go-github-com-prometheus-client-model"
|
|
|
|
,go-github-com-prometheus-client-model)))
|
2018-01-29 00:39:06 +00:00
|
|
|
(synopsis "Prometheus metrics")
|
|
|
|
(description "This package provides tools for reading and writing
|
|
|
|
Prometheus metrics.")
|
|
|
|
(home-page "https://github.com/prometheus/common")
|
2019-07-24 16:14:46 +00:00
|
|
|
(license asl2.0)))
|
2018-01-29 01:01:39 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-prometheus-procfs
|
|
|
|
(package
|
|
|
|
(name "go-github-com-prometheus-procfs")
|
2019-07-24 16:13:37 +00:00
|
|
|
(version "0.0.3")
|
2018-01-29 01:01:39 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/prometheus/procfs.git")
|
2019-07-24 16:13:37 +00:00
|
|
|
(commit (string-append "v" version))))
|
2018-01-29 01:01:39 +00:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-24 16:13:37 +00:00
|
|
|
"18c4m795fwng8f8qa395f3crvamlbk5y5afk8b5rzyisnmjq774y"))))
|
2018-01-29 01:01:39 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-07-24 16:13:37 +00:00
|
|
|
'(#:import-path "github.com/prometheus/procfs"
|
|
|
|
;; The tests require Go modules, which are not yet supported in Guix's
|
|
|
|
;; Go build system.
|
|
|
|
#:tests? #f))
|
2018-01-29 01:01:39 +00:00
|
|
|
(synopsis "Go library for reading @file{/proc}")
|
2018-03-16 03:43:08 +00:00
|
|
|
(description "The @code{procfs} Go package provides functions to retrieve
|
|
|
|
system, kernel, and process metrics from the @file{/proc} pseudo file system.")
|
2018-01-29 01:01:39 +00:00
|
|
|
(home-page "https://github.com/prometheus/procfs")
|
2019-07-24 16:13:37 +00:00
|
|
|
(license asl2.0)))
|
2018-01-29 01:19:21 +00:00
|
|
|
|
2019-10-17 17:51:26 +00:00
|
|
|
(define-public go-github-com-prometheus-client-golang
|
2018-01-29 01:19:21 +00:00
|
|
|
(package
|
2019-10-17 17:51:26 +00:00
|
|
|
(name "go-github-com-prometheus-client-golang")
|
2019-07-17 18:08:47 +00:00
|
|
|
(version "0.9.4")
|
2018-01-29 01:19:21 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/prometheus/client_golang.git")
|
2019-03-13 21:35:49 +00:00
|
|
|
(commit (string-append "v" version))))
|
2018-01-29 01:19:21 +00:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-07-17 18:08:47 +00:00
|
|
|
"0s134fj4i7k6pxdmxwkdi7amb1882yq33spv15hg3pkpbd3h311p"))))
|
2018-01-29 01:19:21 +00:00
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2019-10-17 17:51:26 +00:00
|
|
|
'(#:tests? #f
|
|
|
|
#:import-path "github.com/prometheus/client_golang"
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Source-only package
|
|
|
|
(delete 'build))))
|
2018-01-29 01:19:21 +00:00
|
|
|
(propagated-inputs
|
|
|
|
`(("go-github-com-beorn7-perks-quantile"
|
|
|
|
,go-github-com-beorn7-perks-quantile)
|
|
|
|
("go-github-com-golang-protobuf-proto"
|
|
|
|
,go-github-com-golang-protobuf-proto)
|
2019-10-17 17:51:26 +00:00
|
|
|
("go-github-com-prometheus-client-model"
|
|
|
|
,go-github-com-prometheus-client-model)
|
|
|
|
("go-github-com-prometheus-common"
|
|
|
|
,go-github-com-prometheus-common)
|
2018-01-29 01:19:21 +00:00
|
|
|
("go-github-com-prometheus-procfs" ,go-github-com-prometheus-procfs)))
|
|
|
|
(synopsis "HTTP server and client tools for Prometheus")
|
|
|
|
(description "This package @code{promhttp} provides HTTP client and
|
|
|
|
server tools for Prometheus metrics.")
|
|
|
|
(home-page "https://github.com/prometheus/client_golang")
|
2019-03-13 21:35:49 +00:00
|
|
|
(license asl2.0)))
|
2018-01-29 01:19:45 +00:00
|
|
|
|
2018-09-29 21:19:26 +00:00
|
|
|
(define-public go-gopkg.in-asn1-ber.v1
|
|
|
|
(package
|
|
|
|
(name "go-gopkg.in-asn1-ber.v1")
|
|
|
|
(version "1.2")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gopkg.in/asn1-ber.v1")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1y8bvzbxpw0lfnn7pbcdwzqj4l90qj6xf88dvv9pxd9yl5g6cskx"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
2018-11-06 17:10:42 +00:00
|
|
|
'(#:import-path "gopkg.in/asn1-ber.v1"
|
2019-10-28 17:18:38 +00:00
|
|
|
;; Tests don't pass "vet" on Go since 1.11. See
|
2018-11-06 17:10:42 +00:00
|
|
|
;; https://github.com/go-asn1-ber/asn1-ber/issues/20.
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key import-path #:allow-other-keys)
|
|
|
|
(invoke "go" "test"
|
|
|
|
"-vet=off"
|
|
|
|
import-path))))))
|
2018-09-29 21:19:26 +00:00
|
|
|
(synopsis "ASN.1 BER encoding and decoding in Go")
|
|
|
|
(description "This package provides ASN.1 BER encoding and decoding in the
|
|
|
|
Go language.")
|
|
|
|
(home-page "https://gopkg.in/asn1-ber.v1")
|
|
|
|
(license expat)))
|
2018-09-29 21:19:58 +00:00
|
|
|
|
|
|
|
(define-public go-gopkg.in-ldap.v2
|
|
|
|
(package
|
|
|
|
(name "go-gopkg.in-ldap.v2")
|
|
|
|
(version "2.5.1")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://gopkg.in/ldap.v2")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1wf81wy04nhkqs0dg5zkivr4sh37r83bxrfwjz9vr4jq6vmljr3h"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "gopkg.in/ldap.v2"
|
|
|
|
#:tests? #f)) ; the test suite requires network access
|
|
|
|
(propagated-inputs
|
|
|
|
`(("go-gopkg.in-asn1-ber.v1" ,go-gopkg.in-asn1-ber.v1)))
|
|
|
|
(synopsis "LDAP v3 functionality for Go")
|
|
|
|
(description "This package provides basic LDAP v3 functionality in the Go
|
|
|
|
language.")
|
|
|
|
(home-page "https://gopkg.in/ldap.v2")
|
|
|
|
(license expat)))
|
2019-03-13 21:21:40 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-flynn-archive-go-shlex
|
|
|
|
(let ((commit "3f9db97f856818214da2e1057f8ad84803971cff")
|
|
|
|
(revision "0"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-flynn-archive-go-shlex")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/flynn-archive/go-shlex.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/flynn-archive/go-shlex"))
|
|
|
|
(synopsis "Go lexer")
|
|
|
|
(description "Shlex is a simple lexer for go that supports shell-style
|
|
|
|
quoting, commenting, and escaping.")
|
|
|
|
(home-page "https://github.com/flynn-archive/go-shlex")
|
|
|
|
(license asl2.0))))
|
2019-03-13 21:34:45 +00:00
|
|
|
|
2019-07-17 17:36:19 +00:00
|
|
|
(define-public go-github-com-audriusbutkevicius-pfilter
|
|
|
|
(let ((commit "c55ef6137fc6f075801eac099cc2687ede0f101d")
|
|
|
|
(revision "3"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-audriusbutkevicius-pfilter")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/AudriusButkevicius/pfilter.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0xzhwyd0w21bhvzl5pinn22hp0y6h44rh3s2ppql69rafc6zd3c6"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/AudriusButkevicius/pfilter"))
|
2019-09-23 19:25:15 +00:00
|
|
|
(synopsis "Filter packets into multiple virtual connections")
|
2019-07-17 17:36:19 +00:00
|
|
|
(description "Pfilter is a Go package for filtering packets into multiple
|
|
|
|
virtual connections from a single physical connection.")
|
|
|
|
(home-page "https://github.com/AudriusButkevicius/pfilter")
|
|
|
|
(license expat))))
|
2019-07-17 17:36:36 +00:00
|
|
|
|
|
|
|
(define-public go-github-com-ccding-go-stun
|
|
|
|
(let ((commit "be486d185f3dfcb2dbf8429332da50a0da7f95a6")
|
|
|
|
(revision "2"))
|
|
|
|
(package
|
|
|
|
(name "go-github-com-ccding-go-stun")
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/ccding/go-stun.git")
|
|
|
|
(commit commit)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1gr0rw1c1y7wh6913lyn5k4ig023by27i36bly6am8dwgrgp34ww"))))
|
|
|
|
(build-system go-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:import-path "github.com/ccding/go-stun"))
|
|
|
|
(synopsis "STUN client implementation")
|
|
|
|
(description "Go-stun is a go implementation of the STUN client (RFC 3489
|
|
|
|
and RFC 5389).")
|
|
|
|
(home-page "https://github.com/ccding/go-stun")
|
|
|
|
(license asl2.0))))
|