From 561d391ba8711049fea8eca25a1685b2a051b55c Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 14 Aug 2019 14:42:50 -0400 Subject: 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. --- gnu/packages/syncthing.scm | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 7e1d8df333..0ba116fd11 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -74,7 +74,7 @@ ("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) - ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate) + ("go-golang-org-x-time" ,go-golang-org-x-time) ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2) ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-gogo-protobuf-gogoproto" @@ -84,17 +84,8 @@ ("go-github-com-prometheus-client-golang-prometheus" ,go-github-com-prometheus-client-golang-prometheus) ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) - ("go-golang-org-x-net-bpf" ,go-golang-org-x-net-bpf) - ("go-golang-org-x-net-internal-iana" ,go-golang-org-x-net-internal-iana) - ("go-golang-org-x-net-internal-socket" - ,go-golang-org-x-net-internal-socket) - ("go-golang-org-x-net-internal-socks" - ,go-golang-org-x-net-internal-socks) - ("go-golang-org-x-net-ipv4" ,go-golang-org-x-net-ipv4) - ("go-golang-org-x-net-ipv6" ,go-golang-org-x-net-ipv6) - ("go-golang-org-x-net-proxy" ,go-golang-org-x-net-proxy) - ("go-golang-org-x-text-unicode-norm" ,go-golang-org-x-text-unicode-norm) - ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform) + ("go-golang-org-x-net" ,go-golang-org-x-net) + ("go-golang-org-x-text" ,go-golang-org-x-text) ("go-github-com-audriusbutkevicius-recli" ,go-github-com-audriusbutkevicius-recli) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) @@ -461,7 +452,7 @@ database/sql package.") (propagated-inputs `(("go-github-com-oschwald-maxminddb-golang" ,go-github-com-oschwald-maxminddb-golang) - ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + ("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments `(#:import-path "github.com/oschwald/geoip2-golang" #:tests? #f)) ; Requires some unpackaged software and test data @@ -488,7 +479,7 @@ GeoLite2 and GeoIP2 databases in Go.") "1i6d935f3cv9djpjvc2ibh8aps8jqvg454b9pkwg2h98al759ggk")))) (build-system go-build-system) (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (arguments `(#:import-path "github.com/oschwald/maxminddb-golang" #:tests? #f)) ; Requires some unpackaged software and test data @@ -811,7 +802,7 @@ using sh's word-splitting rules.") (arguments '(#:import-path "github.com/syncthing/notify")) (propagated-inputs - `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix))) + `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) (synopsis "File system event notification library") (description "This package provides @code{notify}, a file system event notification library in Go.") -- cgit v1.2.3 From 35defe61306852ee4ebcd9b42203effd5992bcb2 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 15 Aug 2019 17:35:21 -0400 Subject: gnu: gogoprotobuf: Consolidate packages. * gnu/packages/golang.scm (go-github-com-gogo-protobuf)[arguments]: Adjust the #:import-path, and skip the tests and build phases. (go-github-com-gogo-protobuf-protoc-gen-gogo, go-github-com-gogo-protobuf-gogoproto, go-github-com-gogo-protobuf-proto): Remove variables. (go-github-com-libp2p-go-libp2p-crypto, go-github-com-libp2p-go-libp2p-peer, go-github-com-libp2p-go-libp2p-metrics): Adjust accordingly. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-api, gx, gx-go): Likewise. * gnu/packages/syncthing.scm (syncthing): Likewise. --- gnu/packages/golang.scm | 94 +++++----------------------------------------- gnu/packages/ipfs.scm | 6 +-- gnu/packages/syncthing.scm | 4 -- 3 files changed, 12 insertions(+), 92 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e868c2ca19..5278055e38 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1808,40 +1808,12 @@ and lookup requests. Browse requests are not supported yet.") "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/gogo/protobuf/proto" - #:unpack-path "github.com/gogo/protobuf")) - (synopsis "Protocol Buffers for Go with Gadgets") - (description "Gogoprotobuf is a fork of golang/protobuf with extra code -generation features. This code generation is used to achieve: -@itemize -@item fast marshalling and unmarshalling -@item more canonical Go structures -@item goprotobuf compatibility -@item less typing by optionally generating extra helper code -@item peace of mind by optionally generating test and benchmark code -@item other serialization formats -@end itemize") - (home-page "https://github.com/gogo/protobuf") - (license license:bsd-3))) - -(define-public go-github-com-gogo-protobuf-protoc-gen-gogo - (package - (name "go-github-com-gogo-protobuf-protoc-gen-gogo") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gogo/protobuf") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/gogo/protobuf/protoc-gen-gogo" - #:unpack-path "github.com/gogo/protobuf" - #:tests? #f)) ; Requires the unpackaged 'protoc-min-version' + `(#:import-path "github.com/gogo/protobuf" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) (synopsis "Protocol Buffers for Go with Gadgets") (description "Gogoprotobuf is a fork of golang/protobuf with extra code generation features. This code generation is used to achieve: @@ -1856,54 +1828,6 @@ generation features. This code generation is used to achieve: (home-page "https://github.com/gogo/protobuf") (license license:bsd-3))) -(define-public go-github-com-gogo-protobuf-gogoproto - (package - (name "go-github-com-gogo-protobuf-gogoproto") - (version "1.2.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gogo/protobuf.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m")))) - (build-system go-build-system) - (arguments - '(#:unpack-path "github.com/gogo/protobuf" - #:import-path "github.com/gogo/protobuf/gogoproto")) - (home-page "https://github.com/gogo/protobuf") - (synopsis "Extensions to protocol buffers") - (description "This package provides extensions to the Gogo protocol buffers -implementation.") - (license license:bsd-3))) - -(define-public go-github-com-gogo-protobuf-proto - (package - (name "go-github-com-gogo-protobuf-proto") - (version "1.2.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gogo/protobuf.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m")))) - (build-system go-build-system) - (arguments - '(#:unpack-path "github.com/gogo/protobuf" - #:import-path "github.com/gogo/protobuf/proto")) - (home-page "https://github.com/gogo/protobuf") - (synopsis "Protocol buffers component") - (description "This is a component of the Gogo protocol buffers -implementation.") - (license license:bsd-3))) - (define-public go-github-com-libp2p-go-flow-metrics (let ((commit "7e5a55af485341567f98d6847a373eb5ddcdcd43") (revision "0")) @@ -2094,7 +2018,7 @@ Architecture Processors\" by J. Guilford et al.") (native-inputs `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd))) (home-page "https://github.com/libp2p/go-libp2p-crypto") @@ -2267,7 +2191,7 @@ required by Go's standard Hash interface.") '(#:import-path "github.com/libp2p/go-libp2p-peer")) (native-inputs `(("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) @@ -2333,7 +2257,7 @@ required by Go's standard Hash interface.") ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) ("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 79323d8483..39c22262c1 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -86,7 +86,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr) ("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd) ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58) @@ -138,7 +138,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-sabhiram-go-gitignore" ,go-github-com-sabhiram-go-gitignore) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) ("go-github-com-whyrusleeping-json-filter" ,go-github-com-whyrusleeping-json-filter) @@ -198,7 +198,7 @@ powerful and simple.") ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) ("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec) - ("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto) + ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) ("go-github-com-sabhiram-go-gitignore" ,go-github-com-sabhiram-go-gitignore) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 0ba116fd11..d0ffe04eba 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -77,10 +77,6 @@ ("go-golang-org-x-time" ,go-golang-org-x-time) ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2) ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) - ("go-github-com-gogo-protobuf-gogoproto" - ,go-github-com-gogo-protobuf-gogoproto) - ("go-github-com-gogo-protobuf-protoc-gen-gogo" - ,go-github-com-gogo-protobuf-protoc-gen-gogo) ("go-github-com-prometheus-client-golang-prometheus" ,go-github-com-prometheus-client-golang-prometheus) ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) -- cgit v1.2.3 From 9a0c4b630cf580b0772af78fb8d8c7040114d29f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 20 Aug 2019 15:24:53 -0400 Subject: gnu: Qart: Consolidate packages. * gnu/packages/syncthing.scm (go-github-com-vitrun-qart): New variable. (go-github-com-vitrun-qart-qr, go-github-com-vitrun-qart-coding, go-github-com-vitrun-qart-gf256): Remove variables. (syncthing)[inputs]: Adjust accordingly. --- gnu/packages/syncthing.scm | 72 ++++------------------------------------------ 1 file changed, 6 insertions(+), 66 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index d0ffe04eba..afe63802bb 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -85,9 +85,7 @@ ("go-github-com-audriusbutkevicius-recli" ,go-github-com-audriusbutkevicius-recli) ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) - ("go-github-com-vitrun-qart-qr" ,go-github-com-vitrun-qart-qr) - ("go-github-com-vitrun-qart-coding" ,go-github-com-vitrun-qart-coding) - ("go-github-com-vitrun-qart-gf256" ,go-github-com-vitrun-qart-gf256) + ("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart) ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-flynn-archive-go-shlex" @@ -616,11 +614,11 @@ environment") (home-page "https://github.com/thejerf/suture") (license expat))) -(define-public go-github-com-vitrun-qart-coding +(define-public go-github-com-vitrun-qart (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") (revision "0")) (package - (name "go-github-com-vitrun-qart-coding") + (name "go-github-com-vitrun-qart") (version (git-version "0.0.0" revision commit)) (source (origin (method git-fetch) @@ -634,71 +632,13 @@ environment") "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/vitrun/qart/coding" - #:unpack-path "github.com/vitrun/qart")) - (synopsis "Low-level QR coding library") + `(#:import-path "github.com/vitrun/qart")) + (synopsis "Create QR codes with an embedded image") (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 -inherent errors. This @code{qart} component, @code{coding}, implements -low-level QR coding details.") - (home-page "https://github.com/vitrun/qart/") - (license bsd-3)))) - -(define-public go-github-com-vitrun-qart-gf256 - (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") - (revision "0")) - (package - (name "go-github-com-vitrun-qart-gf256") - (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 - `(#:import-path "github.com/vitrun/qart/gf256" - #:unpack-path "github.com/vitrun/qart")) - (synopsis "Qart library for Galois Field GF(256) math") - (description "This package, a component of @code{qart}, provides @code{gf256}, -implements arithmetic over the Galois Field GF(256).") - (home-page "https://github.com/vitrun/qart") - (license bsd-3)))) - -(define-public go-github-com-vitrun-qart-qr - (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") - (revision "0")) - (package - (name "go-github-com-vitrun-qart-qr") - (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 - `(#:import-path "github.com/vitrun/qart/qr" - #:unpack-path "github.com/vitrun/qart")) - (synopsis "Qart component for generating QR codes") - (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 -inherent errors. This @code{qart} component, @code{qr}, provides QR code -generation.") +inherent errors.") (home-page "https://github.com/vitrun/qart") (license bsd-3)))) -- cgit v1.2.3 From 491d07cccb6939e6bdc91c5f8c66f0c7dc242890 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 17 Oct 2019 13:51:26 -0400 Subject: gnu: Prometheus Go packages: Consolidate. * gnu/packages/syncthing.scm (go-github-com-prometheus-client-model-go, go-github-com-prometheus-common-expfmt, go-github-com-prometheus-client-golang-prometheus, go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg, go-github-com-client-golang-prometheus-promhttp): Remove variables. (go-github-com-prometheus-client-model, go-github-com-prometheus-client-golang, go-github-com-prometheus-common): New variables. (syncthing)[inputs]: Adjust accordingly. --- gnu/packages/syncthing.scm | 144 ++++++++++----------------------------------- 1 file changed, 30 insertions(+), 114 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index afe63802bb..9983d81ae5 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -77,9 +77,9 @@ ("go-golang-org-x-time" ,go-golang-org-x-time) ("go-gopkg.in-ldap.v2" ,go-gopkg.in-ldap.v2) ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) - ("go-github-com-prometheus-client-golang-prometheus" - ,go-github-com-prometheus-client-golang-prometheus) ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) + ("go-github-com-prometheus-client-golang" + ,go-github-com-prometheus-client-golang) ("go-golang-org-x-net" ,go-golang-org-x-net) ("go-golang-org-x-text" ,go-golang-org-x-text) ("go-github-com-audriusbutkevicius-recli" @@ -796,11 +796,11 @@ data serialization format.") (home-page "https://github.com/golang/protobuf") (license bsd-3))) -(define-public go-github-com-prometheus-client-model-go +(define-public go-github-com-prometheus-client-model (let ((commit "fd36f4220a901265f90734c3183c5f0c91daa0b8") (revision "1")) (package - (name "go-github-com-prometheus-client-model-go") + (name "go-github-com-prometheus-client-model") (version (git-version "0.0.2" revision commit)) (source (origin (method git-fetch) @@ -813,8 +813,12 @@ data serialization format.") "1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/prometheus/client_model/go" - #:unpack-path "github.com/prometheus/client_model")) + '(#:import-path "github.com/prometheus/client_model" + #:tests? #f + #:phases + (modify-phases %standard-phases + ;; Source-only package + (delete 'build)))) (propagated-inputs `(("go-github-com-golang-protobuf-proto" ,go-github-com-golang-protobuf-proto))) @@ -854,9 +858,9 @@ message streaming.") (home-page "https://github.com/matttproud/golang_protobuf_extensions") (license asl2.0)))) -(define-public go-github-com-prometheus-common-expfmt +(define-public go-github-com-prometheus-common (package - (name "go-github-com-prometheus-common-expfmt") + (name "go-github-com-prometheus-common") (version "0.4.1") (source (origin (method git-fetch) @@ -869,8 +873,8 @@ message streaming.") "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/prometheus/common/expfmt" - #:unpack-path "github.com/prometheus/common" + '(#:import-path "github.com/prometheus/common" + #:tests? #f #:phases (modify-phases %standard-phases (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable @@ -882,49 +886,21 @@ message streaming.") "/src/github.com/prometheus/common/expfmt/testdata/") ".*\\.gz$")) #t)) - (replace 'check - ;; Tests don't pass "vet" on go-1.11. See - ;; https://github.com/syncthing/syncthing/issues/5311. - (lambda* (#:key import-path #:allow-other-keys) - (invoke "go" "test" - "-vet=off" - import-path)))))) + ;; Source-only package + (delete 'build)))) (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) - ("go-github-com-prometheus-client-model-go" - ,go-github-com-prometheus-client-model-go))) + ("go-github-com-prometheus-client-model" + ,go-github-com-prometheus-client-model))) (synopsis "Prometheus metrics") (description "This package provides tools for reading and writing Prometheus metrics.") (home-page "https://github.com/prometheus/common") (license asl2.0))) -(define-public go-github-com-prometheus-common-model - (package - (name "go-github-com-prometheus-common-model") - (version "0.4.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/common.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/common/model" - #:unpack-path "github.com/prometheus/common")) - (synopsis "Prometheus component") - (description "This package provides a component of the Go Prometheus -implementation.") - (home-page "https://github.com/prometheus/common") - (license asl2.0))) - (define-public go-github-com-prometheus-procfs (package (name "go-github-com-prometheus-procfs") @@ -950,9 +926,9 @@ system, kernel, and process metrics from the @file{/proc} pseudo file system.") (home-page "https://github.com/prometheus/procfs") (license asl2.0))) -(define-public go-github-com-client-golang-prometheus-promhttp +(define-public go-github-com-prometheus-client-golang (package - (name "go-github-com-client-golang-prometheus-promhttp") + (name "go-github-com-prometheus-client-golang") (version "0.9.4") (source (origin (method git-fetch) @@ -965,22 +941,21 @@ system, kernel, and process metrics from the @file{/proc} pseudo file system.") "0s134fj4i7k6pxdmxwkdi7amb1882yq33spv15hg3pkpbd3h311p")))) (build-system go-build-system) (arguments - '(#:tests? #f ; The tests require internet access - #:import-path "github.com/prometheus/client_golang/prometheus/promhttp" - #:unpack-path "github.com/prometheus/client_golang")) + '(#:tests? #f + #:import-path "github.com/prometheus/client_golang" + #:phases + (modify-phases %standard-phases + ;; Source-only package + (delete 'build)))) (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) - ("go-github-com-prometheus-common-model" - ,go-github-com-prometheus-common-model) - ("go-github-com-prometheus-client-model-go" - ,go-github-com-prometheus-client-model-go) - ("go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg" - ,go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg) - ("go-github-com-prometheus-common-expfmt" - ,go-github-com-prometheus-common-expfmt) + ("go-github-com-prometheus-client-model" + ,go-github-com-prometheus-client-model) + ("go-github-com-prometheus-common" + ,go-github-com-prometheus-common) ("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 @@ -988,43 +963,6 @@ server tools for Prometheus metrics.") (home-page "https://github.com/prometheus/client_golang") (license asl2.0))) -(define-public go-github-com-prometheus-client-golang-prometheus - (package - (name "go-github-com-prometheus-client-golang-prometheus") - (version "0.9.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_golang.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0s134fj4i7k6pxdmxwkdi7amb1882yq33spv15hg3pkpbd3h311p")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/client_golang/prometheus" - #:unpack-path "github.com/prometheus/client_golang" - #:tests? #f)) ; 'TestHandler' test fails in this non-critical dependency - (propagated-inputs - `(("go-github-com-beorn7-perks-quantile" - ,go-github-com-beorn7-perks-quantile) - ("go-github-com-prometheus-common-model" ,go-github-com-prometheus-common-model) - ("go-github-com-prometheus-client-model-go" - ,go-github-com-prometheus-client-model-go) - ("go-github-com-prometheus-common-expfmt" - ,go-github-com-prometheus-common-expfmt) - ("go-github-com-prometheus-procfs" ,go-github-com-prometheus-procfs) - ("go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg" - ,go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg))) - (synopsis "Prometheus instrumentation library for Go applications") - (description "This package provides the Go client library for the -Prometheus monitoring and alerting system. It has two separate parts, one for -instrumenting application code, and one for creating clients that talk to the -Prometheus HTTP API.") - (home-page "https://github.com/prometheus/client_golang") - (license asl2.0))) - (define-public go-gopkg.in-asn1-ber.v1 (package (name "go-gopkg.in-asn1-ber.v1") @@ -1105,28 +1043,6 @@ quoting, commenting, and escaping.") (home-page "https://github.com/flynn-archive/go-shlex") (license asl2.0)))) -(define-public go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg - (package - (name "go-github-com-prometheus-common-internal-bitbucket-org-ww-goautoneg") - (version "0.4.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/common.git") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg" - #:unpack-path "github.com/prometheus/common")) - (synopsis "Internal Prometheus component") - (description "This package is an internal component of Prometheus.") - (home-page "https://github.com/prometheus/common") - (license asl2.0))) - (define-public go-github-com-audriusbutkevicius-pfilter (let ((commit "c55ef6137fc6f075801eac099cc2687ede0f101d") (revision "3")) -- cgit v1.2.3 From 7273a5dee4ad5ab603bbfd734565f9b08d8b8d7f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 20 Aug 2019 15:26:14 -0400 Subject: gnu: go-github-com-chmduquesne-rollinghash: Remove extraneous comment. * gnu/packages/syncthing.scm (go-github-com-chmduquesne-rollinghash): Remove comment. --- gnu/packages/syncthing.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 9983d81ae5..9cbf1cf032 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -642,9 +642,6 @@ inherent errors.") (home-page "https://github.com/vitrun/qart") (license bsd-3)))) -;; XXX Syncthing actually imports 'github.com/chmduquesne/rollinghash/adler32'. -;; Normally we'd package this module indpendenctly but the adler32 module itself -;; imports 'github.com/chmduquesne/rollinghash/', so this is the easy way out. (define-public go-github-com-chmduquesne-rollinghash (let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81") (revision "0")) -- cgit v1.2.3 From 9642446ccd90979e0a8b92b1c97222164239ca39 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 28 Oct 2019 13:18:38 -0400 Subject: gnu: go-gopkg.in-asn1-ber.v1: Update comment. * gnu/packages/syncthing.scm (go-gopkg.in-asn1-ber.v1): Update comment. --- gnu/packages/syncthing.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/syncthing.scm') diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 9cbf1cf032..8b41a6317f 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -976,7 +976,7 @@ server tools for Prometheus metrics.") (build-system go-build-system) (arguments '(#:import-path "gopkg.in/asn1-ber.v1" - ;; Tests don't pass "vet" on go-1.11. See + ;; Tests don't pass "vet" on Go since 1.11. See ;; https://github.com/go-asn1-ber/asn1-ber/issues/20. #:phases (modify-phases %standard-phases -- cgit v1.2.3