[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/15: gnu: Add ruby-x25519.
From: |
guix-commits |
Subject: |
05/15: gnu: Add ruby-x25519. |
Date: |
Mon, 10 Jul 2023 07:40:27 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 5a59f77e76f937ac5272c342ada53f577e0d66c5
Author: gemmaro <gemmaro.dev@gmail.com>
AuthorDate: Sun Jul 9 14:57:21 2023 +0900
gnu: Add ruby-x25519.
* gnu/packages/ruby.scm (ruby-x25519): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ruby.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e47e3a01c9..0d4efc8402 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3133,6 +3133,47 @@ error streams.")
(home-page "https://github.com/tobyclemson/lino")
(license license:expat)))
+(define-public ruby-x25519
+ (package
+ (name "ruby-x25519")
+ (version "1.0.10")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/RubyCrypto/x25519")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1g0311ly32f6hfn4q5fvkbjbl2bhv1l9fx6s0kglxfsrwq51926y"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:test-target "spec"
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-unnecessary-dependencies
+ (lambda _
+ (substitute* "Gemfile"
+ ((".*rubocop.*")
+ ""))
+ (substitute* "Rakefile"
+ (("require \"rubocop/rake_task\"")
+ "")
+ (("RuboCop::RakeTask.new")
+ ""))))
+ (add-before 'build 'compile
+ (lambda _
+ (invoke "rake" "compile"))))))
+ (native-inputs (list ruby-rake-compiler ruby-rspec))
+ (synopsis "Cryptography library for Ruby providing the X25519
+Diffie-Hellman function")
+ (description
+ "The x25519 gem is an efficient public key cryptography library for
+Ruby providing key exchange/agreement via the X25519 (as known as
+Curve25519) Elliptic Curve Diffie-Hellman function as described in
+@url{https://www.ietf.org/rfc/rfc7748.txt, RFC 7748}.")
+ (home-page "https://github.com/RubyCrypto/x25519")
+ (license license:bsd-3)))
+
(define-public ruby-xml-simple
(package
(name "ruby-xml-simple")
- branch master updated (d0296970fb -> b7be0a999d), guix-commits, 2023/07/10
- 01/15: gnu: Add ruby-bcrypt-pbkdf., guix-commits, 2023/07/10
- 13/15: gnu: python-blessed: Add missing dependency., guix-commits, 2023/07/10
- 04/15: gnu: ruby-rbnacl: Use new package style., guix-commits, 2023/07/10
- 05/15: gnu: Add ruby-x25519.,
guix-commits <=
- 12/15: gnu: ruby-hamster: Fix build., guix-commits, 2023/07/10
- 11/15: gnu: ruby-terraform: Update to 1.7.0., guix-commits, 2023/07/10
- 10/15: gnu: Add ruby-faker., guix-commits, 2023/07/10
- 14/15: gnu: python-curtsies: Update to 0.4.1., guix-commits, 2023/07/10
- 07/15: gnu: ruby-i18n: Update to 1.13.0., guix-commits, 2023/07/10
- 06/15: gnu: ruby-net-ssh: Update to 7.1.0., guix-commits, 2023/07/10
- 09/15: gnu: Add ruby-immutable-struct., guix-commits, 2023/07/10
- 02/15: gnu: Add ruby-ed25519., guix-commits, 2023/07/10
- 08/15: gnu: ruby-lino: Update to 3.1.0., guix-commits, 2023/07/10
- 15/15: gnu: bpython: Update to 0.24., guix-commits, 2023/07/10