guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/34: gnu: Add go-github-com-multiformats-go-multiaddr.


From: Pierre Neidhardt
Subject: 23/34: gnu: Add go-github-com-multiformats-go-multiaddr.
Date: Wed, 24 Oct 2018 06:28:53 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit e53121b36f64bb677127f6814e87e875e0d7ff7b
Author: Pierre Neidhardt <address@hidden>
Date:   Wed Oct 24 11:57:39 2018 +0200

    gnu: Add go-github-com-multiformats-go-multiaddr.
    
    * gnu/packages/golang.scm (go-github-com-multiformats-go-multiaddr): New 
variable.
---
 gnu/packages/golang.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ad914d5..0c5eb6c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3044,3 +3044,45 @@ package cannot cross compile.  But 99% of the time the 
use for
 the current user without cgo.  This library does that, enabling
 cross-compilation.")
       (license license:expat))))
+
+(define-public go-github-com-multiformats-go-multiaddr
+  (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
+        (revision "0"))
+    (package
+      (name "go-github-com-multiformats-go-multiaddr")
+      (version (git-version "1.3.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/multiformats/go-multiaddr.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0p5f8h098a4yjjmzsgqs7vhx1iqifb8izwg3559cr4h7clkpzznh"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path
+         "github.com/multiformats/go-multiaddr"))
+      (native-inputs
+       `(("go-github-com-multiformats-go-multihash" 
,go-github-com-multiformats-go-multihash)
+         ("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)
+         ("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
+         ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
+         ("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union))))
+      (home-page "https://github.com/multiformats/go-multiaddr";)
+      (synopsis "Composable and future-proof network addresses")
+      (description "Multiaddr is a standard way to represent addresses that
+does the following:
+
address@hidden
address@hidden Support any standard network protocols.
address@hidden Self-describe (include protocols).
address@hidden Have a binary packed format.
address@hidden Have a nice string representation.
address@hidden Encapsulate well.
address@hidden itemize\n")
+      (license license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]