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/ipfs.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'gnu/packages/ipfs.scm') diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 2dd2097075..79323d8483 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -91,9 +91,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) ("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-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) ("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg) ("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils) @@ -146,9 +144,7 @@ that are shared between @command{go-ipfs/commands} and its rewrite ("go-github-com-whyrusleeping-json-filter" ,go-github-com-whyrusleeping-json-filter) ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/whyrusleeping/gx") (synopsis "Package management tool using IPFS") (description "@command{gx} is a packaging tool built around the @@ -207,9 +203,7 @@ powerful and simple.") ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) ("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter) ("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump) - ("go-golang-org-x-crypto-blake2s" ,go-golang-org-x-crypto-blake2s) - ("go-golang-org-x-crypto-ed25519" ,go-golang-org-x-crypto-ed25519) - ("go-golang-org-x-crypto-sha3" ,go-golang-org-x-crypto-sha3))) + ("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (home-page "https://github.com/whyrusleeping/gx-go") (synopsis "Golang subtool for the @command{gx} package manager") (description "A subtool for the @command{gx} package manager for packages -- 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/ipfs.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