[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/34: gnu: Add go-github-com-btcsuite-btcd-btcec.
From: |
Pierre Neidhardt |
Subject: |
11/34: gnu: Add go-github-com-btcsuite-btcd-btcec. |
Date: |
Wed, 24 Oct 2018 06:28:51 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit d5599afadf9026079ef5bf34af9d1b111731b81b
Author: Pierre Neidhardt <address@hidden>
Date: Wed Oct 24 11:30:32 2018 +0200
gnu: Add go-github-com-btcsuite-btcd-btcec.
* gnu/packages/golang.scm (go-github-com-btcsuite-btcd-btcec): New variable.
---
gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6447e28..1cc10d5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2658,3 +2658,41 @@ style).
provides a default implementation of a subsystem-aware leveled logger
implementing the same interface.")
(license license:isc))))
+
+(define-public go-github-com-btcsuite-btcd-btcec
+ (let ((commit "67e573d211ace594f1366b4ce9d39726c4b19bd0")
+ (revision "0"))
+ (package
+ (name "go-github-com-btcsuite-btcd-btcec")
+ (version (git-version "0.12.0-beta" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/btcsuite/btcd.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "04s92gsy71w1jirlr5lkk9y6r5cparbas7nmf6ywbp7kq7fn8ajn"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:unpack-path "github.com/btcsuite/btcd"
+ #:import-path "github.com/btcsuite/btcd/btcec"))
+ (native-inputs
+ `(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)))
+ (home-page "https://github.com/btcsuite/btcd")
+ (synopsis "Elliptic curve cryptography to work with Bitcoin")
+ (description "Package @command{btcec} implements elliptic curve
+cryptography needed for working with Bitcoin (secp256k1 only for now). It is
+designed so that it may be used with the standard crypto/ecdsa packages
+provided with Go. A comprehensive suite of test is provided to ensure proper
+functionality. Package @command{btcec} was originally based on work from
+ThePiachu which is licensed under the same terms as Go, but it has
+signficantly diverged since then. The @command{btcsuite} developers original
+is licensed under the liberal ISC license.
+
+Although this package was primarily written for btcd, it has intentionally
+been designed so it can be used as a standalone package for any projects
+needing to use secp256k1 elliptic curve cryptography.")
+ (license license:isc))))
- 05/34: gnu: Add go-golang-org-x-crypto-blake2s., (continued)
- 05/34: gnu: Add go-golang-org-x-crypto-blake2s., Pierre Neidhardt, 2018/10/24
- 03/34: gnu: Add go-golang-org-x-crypto-ed25519., Pierre Neidhardt, 2018/10/24
- 02/34: gnu: Move go-golang-org-x-crypto-union from syncthing.scm to golang.scm, Pierre Neidhardt, 2018/10/24
- 08/34: gnu: Add go-github-com-libp2p-go-flow-metrics., Pierre Neidhardt, 2018/10/24
- 13/34: gnu: Add go-github-com-libp2p-go-libp2p-crypto., Pierre Neidhardt, 2018/10/24
- 12/34: gnu: Add go-github-com-minio-sha256-simd., Pierre Neidhardt, 2018/10/24
- 10/34: gnu: Add go-github-com-btcsuite-btclog., Pierre Neidhardt, 2018/10/24
- 09/34: gnu: Add go-github-com-davecgh-go-spew., Pierre Neidhardt, 2018/10/24
- 01/34: gnu: Move go-github-com-gogo-protobuf* from syncthing.scm to golang.scm, Pierre Neidhardt, 2018/10/24
- 19/34: gnu: Add go-github-com-libp2p-go-libp2p-peer., Pierre Neidhardt, 2018/10/24
- 11/34: gnu: Add go-github-com-btcsuite-btcd-btcec.,
Pierre Neidhardt <=
- 14/34: gnu: Add go-github-com-mr-tron-base58., Pierre Neidhardt, 2018/10/24
- 15/34: gnu: Add go-github-com-gxed-hashland-keccakpg., Pierre Neidhardt, 2018/10/24
- 18/34: gnu: Add go-github-com-multiformats-go-multihash., Pierre Neidhardt, 2018/10/24
- 17/34: gnu: Add go-github-com-spaolacci-murmur3., Pierre Neidhardt, 2018/10/24
- 22/34: gnu: Add go-github-com-mitchellh-go-homedir., Pierre Neidhardt, 2018/10/24
- 26/34: gnu: Add go-github-com-cheekybits-is., Pierre Neidhardt, 2018/10/24
- 31/34: gnu: Add go-github-com-whyrusleeping-stump., Pierre Neidhardt, 2018/10/24
- 33/34: gnu: Add go-github-com-ipfs-go-ipfs-api., Pierre Neidhardt, 2018/10/24
- 34/34: gnu: Add gx., Pierre Neidhardt, 2018/10/24
- 32/34: gnu: Add go-github-com-ipfs-go-ipfs-cmdkit-files., Pierre Neidhardt, 2018/10/24